Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 100.5 kB / 16.29 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 183.9 kB / 17.22 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.078/2.078, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79.88 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2644, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00273/0.2672, allocations: 0.8376 MB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001559/0.2674, allocations: 47.78 kB / 0.7849 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.2674, allocations: 0 / 0.7849 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.2675, allocations: 11.86 kB / 0.785 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2676, allocations: 7.875 kB / 0.785 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.471e-05/0.2677, allocations: 23.92 kB / 0.785 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2678, allocations: 71.83 kB / 0.785 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.268, allocations: 41.33 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.2681, allocations: 27.86 kB / 0.7851 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.2682, allocations: 31.8 kB / 0.7851 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.2682, allocations: 8 kB / 0.7852 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.2682, allocations: 11.94 kB / 0.7852 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.2683, allocations: 11.98 kB / 0.7852 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.2683, allocations: 43.72 kB / 0.7852 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.2685, allocations: 83.86 kB / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2685, allocations: 0 / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2685, allocations: 0 / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2685, allocations: 0 / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005647/0.2691, allocations: 391.1 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2691, allocations: 11.97 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.2692, allocations: 20.75 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.2695, allocations: 199.2 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2695, allocations: 4.375 kB / 0.7859 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2695, allocations: 8.375 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2697, allocations: 98.69 kB / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2697, allocations: 192 / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2698, allocations: 11.94 kB / 0.786 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2698, allocations: 4 kB / 0.786 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.2699, allocations: 39.97 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.2705, allocations: 444.5 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.2706, allocations: 37.16 kB / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.2707, allocations: 17.84 kB / 0.7865 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2707, allocations: 0 / 0.7865 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2707, allocations: 38.59 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2707, allocations: 0 / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002287/0.271, allocations: 65.47 kB / 0.7866 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.2711, allocations: 81.36 kB / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2712, allocations: 165.5 kB / 0.7869 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2713, allocations: 25.7 kB / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.2714, allocations: 111.9 kB / 0.787 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.2714, allocations: 7.906 kB / 0.787 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2714, allocations: 17.7 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.2716, allocations: 318.8 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.2716, allocations: 8 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.2717, allocations: 25.64 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.2717, allocations: 33.66 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2717, allocations: 0 / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.139e-05/0.2718, allocations: 61.59 kB / 0.7874 GB, free: 112 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2718, allocations: 4 kB / 0.7874 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2719, allocations: 3.938 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2719, allocations: 64 / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.272, allocations: 15.94 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.272, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.272, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.272, allocations: 4 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.5762/0.8483, allocations: 112 kB / 0.7876 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.8484, allocations: 8.969 kB / 0.7876 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.8484, allocations: 17.39 kB / 0.7876 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8484, allocations: 1.375 kB / 0.7876 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8485, allocations: 2.188 kB / 0.7876 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8485, allocations: 0.7188 kB / 0.7876 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.8489, allocations: 490.1 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.8489, allocations: 2.531 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.849, allocations: 6.688 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.849, allocations: 0 / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.849, allocations: 2.625 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.849, allocations: 1.219 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.849, allocations: 0.5 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.964e-05/0.8491, allocations: 80.16 kB / 0.7882 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.8492, allocations: 98.98 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.8492, allocations: 0 / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.8492, allocations: 2.5 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.8492, allocations: 2.625 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.8492, allocations: 0 / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.228e-05/0.8493, allocations: 129.9 kB / 0.7884 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8493, allocations: 1.344 kB / 0.7884 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002248/0.8496, allocations: 13.19 kB / 0.7884 GB, free: 47.56 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.8497, allocations: 101.2 kB / 0.7885 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.8498, allocations: 20.03 kB / 0.7885 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8498, allocations: 4.625 kB / 0.7885 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.8498, allocations: 10.91 kB / 0.7885 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.85, allocations: 5.922 kB / 0.7885 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.8503, allocations: 172.2 kB / 0.7887 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.8505, allocations: 0.6942 MB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.8505, allocations: 10.52 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.8505, allocations: 10.19 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.8506, allocations: 0 / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002652/0.8532, allocations: 486.2 kB / 0.7899 GB, free: 46.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)