Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.45/1.45, allocations: 287.4 MB / 302.5 MB, free: 8.219 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.0009419/0.0009418, allocations: 179 kB / 371.1 MB, free: 10.81 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.193/1.193, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006509/0.0006509, allocations: 82.38 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 15.92 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1746, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0008128/0.1754, allocations: 0.5366 MB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 8.915e-05/0.1755, allocations: 43.78 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.1756, allocations: 4 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1756, allocations: 7.922 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.1757, allocations: 3.938 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.599e-05/0.1758, allocations: 15.98 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.1759, allocations: 63.78 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.176, allocations: 41.38 kB / 0.9794 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.176, allocations: 15.88 kB / 0.9794 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.1761, allocations: 27.78 kB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1761, allocations: 0 / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.1761, allocations: 7.938 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1761, allocations: 7.938 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1761, allocations: 37.7 kB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.923e-05/0.1762, allocations: 64.08 kB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1762, allocations: 0 / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1762, allocations: 0 / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1762, allocations: 7.875 kB / 0.9796 GB, free: 27.18 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.0002787/0.1765, allocations: 367.2 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1766, allocations: 12.03 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.1766, allocations: 38.73 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.1766, allocations: 12.84 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1768, allocations: 200.2 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1768, allocations: 4.281 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1768, allocations: 12.38 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1769, allocations: 93.77 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1769, allocations: 3.938 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1769, allocations: 4 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1769, allocations: 4 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.555e-05/0.177, allocations: 39.92 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.1774, allocations: 444.6 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.1774, allocations: 37.25 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.1775, allocations: 21.78 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.1775, allocations: 3.984 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.1775, allocations: 38.55 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1775, allocations: 0 / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.1777, allocations: 57.48 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.1777, allocations: 81.36 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1778, allocations: 165 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.1778, allocations: 33.69 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.1779, allocations: 108 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.1779, allocations: 11.89 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.1779, allocations: 0 / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.1779, allocations: 318.8 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.178, allocations: 7.984 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.178, allocations: 17.72 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.178, allocations: 37.59 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.178, allocations: 4 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.666e-05/0.1781, allocations: 61.53 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1781, allocations: 11.94 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1781, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1782, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.1782, allocations: 4 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1782, allocations: 8.062 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.1783, allocations: 3.906 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.1783, allocations: 0 / 0.9818 GB, free: 24.7 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 4.946e-05/0.1783, allocations: 123.1 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1784, allocations: 23.77 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.1784, allocations: 8.562 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1784, allocations: 4 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1784, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1784, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1787, allocations: 482.8 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1787, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.1787, allocations: 4 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1787, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1787, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.1787, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1787, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.448e-05/0.1788, allocations: 97.73 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.1789, allocations: 85.02 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1789, allocations: 0 / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.1789, allocations: 7.984 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1789, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1789, allocations: 4 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.179, allocations: 128.2 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.179, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001592/0.1792, allocations: 8 kB / 0.9827 GB, free: 23.63 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.0002225/0.1794, allocations: 0.6171 MB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.1795, allocations: 24 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1795, allocations: 0 / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.1795, allocations: 7.938 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.1796, allocations: 14.19 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.1803, allocations: 0.5858 MB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.893e-05/0.1804, allocations: 0.7004 MB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.1804, allocations: 8.422 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1805, allocations: 19.44 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1805, allocations: 0 / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.1978, allocations: 1.587 MB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.1979, allocations: 199.8 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.832, allocations: 0 / 0.9864 GB, free: 19.87 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)