Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.467/1.467, allocations: 287.4 MB / 302.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 182.4 kB / 371.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 92.83 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005073, allocations: 12.3 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1801, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0008047/0.181, allocations: 0.5366 MB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.1811, allocations: 43.78 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1812, allocations: 0 / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1812, allocations: 7.922 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.1813, allocations: 15.88 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-05/0.1813, allocations: 11.98 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.1814, allocations: 63.78 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1816, allocations: 37.39 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1816, allocations: 15.88 kB / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1817, allocations: 23.8 kB / 0.9795 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1817, allocations: 8 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.1817, allocations: 0 / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.1817, allocations: 23.84 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.1817, allocations: 33.7 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.729e-05/0.1818, allocations: 56.09 kB / 0.9796 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1818, allocations: 0 / 0.9796 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1818, allocations: 0 / 0.9796 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.1819, allocations: 0 / 0.9796 GB, free: 27.22 MB / 0.6198 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.0003464/0.1822, allocations: 381.2 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1823, allocations: 8.031 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.1823, allocations: 42.73 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.1823, allocations: 8.844 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1825, allocations: 192.2 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1825, allocations: 12.28 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1825, allocations: 8.359 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1827, allocations: 99.89 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1827, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1827, allocations: 11.98 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1827, allocations: 0 / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.1828, allocations: 39.92 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1833, allocations: 440.6 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.965e-05/0.1833, allocations: 41.22 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.1833, allocations: 21.81 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.1834, allocations: 0 / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1834, allocations: 30.56 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1834, allocations: 0 / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001807/0.1836, allocations: 65.69 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1836, allocations: 81.11 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1837, allocations: 165 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.1838, allocations: 25.7 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.1838, allocations: 108 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.1838, allocations: 7.906 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1838, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.1839, allocations: 322.8 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.1839, allocations: 12.03 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.184, allocations: 25.7 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.184, allocations: 25.66 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.184, allocations: 3.938 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.08e-05/0.1841, allocations: 65.53 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1841, allocations: 9.5 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1841, allocations: 4.062 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1842, allocations: 4 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.1842, allocations: 4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1842, allocations: 3.984 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.1843, allocations: 7.906 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1843, allocations: 0 / 0.9818 GB, free: 24.72 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.1844, allocations: 121.8 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.1844, allocations: 11.84 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.1844, allocations: 16.55 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1844, allocations: 4 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1845, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1845, allocations: 4 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.1848, allocations: 478.8 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1848, allocations: 0 / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.1848, allocations: 4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1848, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1848, allocations: 4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1848, allocations: 4.062 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1848, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.642e-05/0.1849, allocations: 85.67 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.1849, allocations: 89.02 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.185, allocations: 4 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.185, allocations: 0 / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.185, allocations: 8.016 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.185, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.1851, allocations: 132.2 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1851, allocations: 0 / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001915/0.1853, allocations: 8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.1855, allocations: 0.6209 MB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.1856, allocations: 12 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1856, allocations: 4 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.1856, allocations: 11.94 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.1858, allocations: 14.33 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.1864, allocations: 0.5857 MB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.1866, allocations: 0.6965 MB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.1866, allocations: 8.438 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1867, allocations: 23.42 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of SimCode: time 6.02e-07/0.1867, allocations: 4 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.1979, allocations: 1.586 MB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/0.1981, allocations: 210.4 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.703, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)