Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 304.3 MB, free: 8.051 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.00106/0.00106, allocations: 172.5 kB / 372.9 MB, free: 10.11 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.623/1.623, allocations: 205.4 MB / 0.6316 GB, free: 9.883 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.0008041/0.0008043, allocations: 94.3 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005355, allocations: 12.12 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1985, allocations: 115.3 MB / 0.9807 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.003727/0.2023, allocations: 4.911 MB / 0.9855 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.205, allocations: 1.891 MB / 0.9874 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.2056, allocations: 59.75 kB / 0.9874 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.2059, allocations: 154.3 kB / 0.9876 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.2063, allocations: 214.3 kB / 0.9878 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.2072, allocations: 470.6 kB / 0.9882 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.2083, allocations: 1.791 MB / 0.99 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008821/0.2092, allocations: 0.9546 MB / 0.9909 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.2097, allocations: 0.5437 MB / 0.9915 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.21, allocations: 0.5084 MB / 0.992 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.2101, allocations: 44 kB / 0.992 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2103, allocations: 55.98 kB / 0.9921 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2104, allocations: 222.7 kB / 0.9923 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.2107, allocations: 0.6228 MB / 0.9929 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.2118, allocations: 1.948 MB / 0.9948 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2118, allocations: 3.938 kB / 0.9948 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2118, allocations: 0 / 0.9948 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.2118, allocations: 4 kB / 0.9948 GB, free: 12.84 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.002379/0.2142, allocations: 1.769 MB / 0.9965 GB, free: 11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2143, allocations: 8.031 kB / 0.9965 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.2145, allocations: 202.5 kB / 0.9967 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.2163, allocations: 1.228 MB / 0.9979 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.2163, allocations: 111.1 kB / 0.998 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2165, allocations: 152.4 kB / 0.9982 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.2182, allocations: 1.305 MB / 0.9994 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2182, allocations: 3.938 kB / 0.9994 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.2183, allocations: 64 kB / 0.9995 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.2184, allocations: 36 kB / 0.9995 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.2198, allocations: 0.9213 MB / 1 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/0.2246, allocations: 4.517 MB / 1.005 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2257, allocations: 0.6529 MB / 1.005 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.2261, allocations: 335.3 kB / 1.006 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.2262, allocations: 19.92 kB / 1.006 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000628/0.2268, allocations: 427.5 kB / 1.006 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=79): time 2.394e-06/0.2268, allocations: 0 / 1.006 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of matching and sorting (n=79): time 0.001455/0.2283, allocations: 0.8367 MB / 1.007 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.2284, allocations: 144.5 kB / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.2297, allocations: 1.178 MB / 1.008 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.2298, allocations: 57.7 kB / 1.008 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.2303, allocations: 0.7808 MB / 1.009 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.2305, allocations: 248.6 kB / 1.009 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.2306, allocations: 28 kB / 1.009 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2307, allocations: 349.9 kB / 1.01 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/0.2313, allocations: 310.5 kB / 1.01 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/0.2322, allocations: 0.7134 MB / 1.011 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2336, allocations: 0.9469 MB / 1.012 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2336, allocations: 8 kB / 1.012 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001878/0.2355, allocations: 1.166 MB / 1.013 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/0.2357, allocations: 427.8 kB / 1.013 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.2358, allocations: 16 kB / 1.013 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.2358, allocations: 23.92 kB / 1.013 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.2365, allocations: 207.6 kB / 1.013 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.2365, allocations: 23.92 kB / 1.013 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.2373, allocations: 182.4 kB / 1.014 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/0.2374, allocations: 55.98 kB / 1.014 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.2374, allocations: 4 kB / 1.014 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/0.2389, allocations: 0.9865 MB / 1.015 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2389, allocations: 12 kB / 1.015 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2389, allocations: 16.09 kB / 1.015 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.2395, allocations: 207.5 kB / 1.015 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.2396, allocations: 23.92 kB / 1.015 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.2403, allocations: 158.8 kB / 1.015 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.2404, allocations: 51.98 kB / 1.015 GB, free: 7.059 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,uSupFan3.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,uSupFan2.y,$whenCondition2,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u,uSupFan1.y,$whenCondition1,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0006768/0.241, allocations: 432.7 kB / 1.016 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.2412, allocations: 138.2 kB / 1.016 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.2427, allocations: 0.7213 MB / 1.016 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2427, allocations: 3.984 kB / 1.016 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2427, allocations: 4 kB / 1.016 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.243, allocations: 215.1 kB / 1.017 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.2431, allocations: 24 kB / 1.017 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.2435, allocations: 31.95 kB / 1.017 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.2437, allocations: 83.84 kB / 1.017 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001578/0.2453, allocations: 0.9679 MB / 1.018 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001855/0.2471, allocations: 1.369 MB / 1.019 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005237/0.2477, allocations: 279.8 kB / 1.019 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001016/0.2487, allocations: 0.7538 MB / 1.02 GB, free: 2 MB / 0.6355 GB Notification: Performance of Backend: time 5.41e-07/0.2487, allocations: 4 kB / 1.02 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.2515, allocations: 1.299 MB / 1.021 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of SimCode: time 0.004514/0.2561, allocations: 3.161 MB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.02997/0.2861, allocations: 15.24 MB / 1.039 GB, free: 14.39 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)