Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.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.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",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 2.665/2.665, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001582/0.001582, allocations: 193.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001225/0.001225, allocations: 97.78 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006659/0.000666, allocations: 11.8 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2382, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil): time 0.002666/0.2409, allocations: 1.232 MB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.244, allocations: 1.429 MB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.2444, allocations: 11.94 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.018e-05/0.2445, allocations: 23.72 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.2449, allocations: 63.78 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.2459, allocations: 194.6 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005117/0.2464, allocations: 224.6 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.2468, allocations: 123.6 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.247, allocations: 99.56 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2472, allocations: 103.4 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.2473, allocations: 8 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.2474, allocations: 27.97 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.2475, allocations: 35.84 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.2476, allocations: 73.52 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.2483, allocations: 415.1 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2483, allocations: 4 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2483, allocations: 0 / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.2483, allocations: 0 / 0.9823 GB, free: 24.2 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001233/0.2496, allocations: 0.5918 MB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2496, allocations: 8.031 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.2497, allocations: 54.55 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.706e-05/0.2498, allocations: 43.56 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.2505, allocations: 337.9 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.2506, allocations: 20.44 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.2506, allocations: 24 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.2514, allocations: 253.8 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2514, allocations: 0 / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.2514, allocations: 19.98 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2514, allocations: 8 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.2522, allocations: 197.6 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2539, allocations: 0.9528 MB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.2547, allocations: 186.5 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2548, allocations: 0 / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.2552, allocations: 132.5 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.415e-06/0.2553, allocations: 0 / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001107/0.2564, allocations: 265.7 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2564, allocations: 81.09 kB / 0.9853 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.2569, allocations: 290.9 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.2569, allocations: 33.7 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2571, allocations: 192.3 kB / 0.9858 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.2571, allocations: 31.47 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.2572, allocations: 8 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.2573, allocations: 338.8 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.2577, allocations: 96.14 kB / 0.9863 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.2581, allocations: 160 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.2585, allocations: 132.9 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2586, allocations: 4 kB / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001045/0.2596, allocations: 331 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.2598, allocations: 0.6451 MB / 0.9875 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2598, allocations: 0 / 0.9875 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.2599, allocations: 7.953 kB / 0.9875 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.2602, allocations: 43.97 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2602, allocations: 7.938 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.2608, allocations: 67.8 kB / 0.9876 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.2608, allocations: 15.98 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.2609, allocations: 4 kB / 0.9877 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000804/0.2617, allocations: 261.7 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2617, allocations: 4 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-06/0.2617, allocations: 0 / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.262, allocations: 31.92 kB / 0.9879 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.262, allocations: 4 kB / 0.9879 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.2625, allocations: 71.7 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.2625, allocations: 11.98 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,cooCoi.conInt.y,cooCoi.intEqu.y,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000236/0.2628, allocations: 225 kB / 0.9882 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.2628, allocations: 23.72 kB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/0.2629, allocations: 29.91 kB / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2629, allocations: 4 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2629, allocations: 0 / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.263, allocations: 3.984 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.2633, allocations: 321.4 kB / 0.9886 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2633, allocations: 0 / 0.9886 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.2636, allocations: 31.92 kB / 0.9886 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2636, allocations: 0 / 0.9886 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2636, allocations: 7.984 kB / 0.9886 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2636, allocations: 4 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2636, allocations: 4 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.2644, allocations: 229.9 kB / 0.9889 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.2644, allocations: 100.7 kB / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.2645, allocations: 8 kB / 0.989 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2647, allocations: 19.97 kB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.2648, allocations: 15.98 kB / 0.989 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2649, allocations: 0 / 0.989 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002422/0.2651, allocations: 206 kB / 0.9892 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2651, allocations: 4 kB / 0.9892 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006006/0.2657, allocations: 95.67 kB / 0.9893 GB, free: 16.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.intEqu.y,cooCoi.and2.y,zonSta.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001005/0.2668, allocations: 0.7738 MB / 0.9901 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.2681, allocations: 471.7 kB / 0.9905 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2682, allocations: 0 / 0.9905 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.2685, allocations: 87.88 kB / 0.9906 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.2691, allocations: 48.92 kB / 0.9906 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.2707, allocations: 1.698 MB / 0.9923 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2709, allocations: 0.7635 MB / 0.993 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000246/0.2712, allocations: 38.28 kB / 0.9931 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2714, allocations: 91.39 kB / 0.9932 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2714, allocations: 3.938 kB / 0.9932 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2995, allocations: 5.984 MB / 0.999 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.2998, allocations: 214.9 kB / 0.9992 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/2.853, allocations: 0 / 0.9992 GB, free: 6.445 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)