Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 120.5 kB / 17.1 MB, free: 5.996 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.001691/0.001691, allocations: 193.6 kB / 18.03 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8035/0.8035, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.02 kB / 0.5738 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1352, allocations: 78.7 MB / 0.6506 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00272/0.1379, allocations: 1.494 MB / 0.6521 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.1387, allocations: 420.7 kB / 0.6525 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.1388, allocations: 0 / 0.6525 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.1388, allocations: 3.938 kB / 0.6525 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.1389, allocations: 15.84 kB / 0.6525 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.1391, allocations: 11.98 kB / 0.6525 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.1392, allocations: 55.72 kB / 0.6526 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1393, allocations: 16 kB / 0.6526 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.414e-05/0.1394, allocations: 27.84 kB / 0.6526 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.1395, allocations: 23.92 kB / 0.6526 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1395, allocations: 4 kB / 0.6526 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.1395, allocations: 4 kB / 0.6526 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1396, allocations: 7.922 kB / 0.6526 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1396, allocations: 23.88 kB / 0.6527 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1397, allocations: 43.8 kB / 0.6527 GB, free: 1.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1397, allocations: 4 kB / 0.6527 GB, free: 1.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1397, allocations: 4 kB / 0.6527 GB, free: 1.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1397, allocations: 0 / 0.6527 GB, free: 1.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005299/0.1403, allocations: 355.3 kB / 0.653 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1403, allocations: 8.031 kB / 0.6531 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.1404, allocations: 8.891 kB / 0.6531 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1405, allocations: 180.3 kB / 0.6532 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.1405, allocations: 384 / 0.6532 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1406, allocations: 3.938 kB / 0.6532 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1407, allocations: 61.61 kB / 0.6533 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1408, allocations: 3.984 kB / 0.6533 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1408, allocations: 7.938 kB / 0.6533 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1408, allocations: 3.938 kB / 0.6533 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1409, allocations: 31.97 kB / 0.6533 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1413, allocations: 272.9 kB / 0.6536 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1415, allocations: 50.5 kB / 0.6536 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.1415, allocations: 24.94 kB / 0.6537 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1416, allocations: 0 / 0.6537 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1416, allocations: 30.56 kB / 0.6537 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1416, allocations: 0 / 0.6537 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003168/0.1419, allocations: 89.64 kB / 0.6538 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.142, allocations: 55.41 kB / 0.6538 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.1421, allocations: 114.2 kB / 0.6539 GB, free: 476 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1421, allocations: 25.7 kB / 0.654 GB, free: 444 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.1422, allocations: 92.09 kB / 0.6541 GB, free: 348 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1422, allocations: 19.86 kB / 0.6541 GB, free: 328 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1422, allocations: 13.72 kB / 0.6541 GB, free: 308 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1424, allocations: 326.8 kB / 0.6544 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.1425, allocations: 15.94 kB / 0.6544 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1425, allocations: 19.98 kB / 0.6544 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1427, allocations: 40.83 kB / 0.6545 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1427, allocations: 0 / 0.6545 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001738/0.1429, allocations: 69.61 kB / 0.6545 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1429, allocations: 13.56 kB / 0.6546 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1429, allocations: 0 / 0.6546 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1429, allocations: 0 / 0.6546 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.143, allocations: 11.98 kB / 0.6546 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.143, allocations: 3.938 kB / 0.6546 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.1431, allocations: 8 kB / 0.6546 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1431, allocations: 0 / 0.6546 GB, free: 15.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.054e-05/0.1432, allocations: 117.3 kB / 0.6547 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1433, allocations: 15.98 kB / 0.6547 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1433, allocations: 7.906 kB / 0.6547 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1433, allocations: 4 kB / 0.6547 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1433, allocations: 3.938 kB / 0.6547 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1434, allocations: 81.06 kB / 0.6548 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1434, allocations: 3.938 kB / 0.6548 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.1435, allocations: 7.984 kB / 0.6548 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1435, allocations: 0 / 0.6548 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002474/0.1438, allocations: 157.3 kB / 0.655 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002585/0.144, allocations: 250.7 kB / 0.6552 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.195e-05/0.1441, allocations: 19.92 kB / 0.6552 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.1442, allocations: 99.31 kB / 0.6553 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of Backend: time 2.5e-07/0.1442, allocations: 0 / 0.6553 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.1446, allocations: 108.5 kB / 0.6554 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0005505/0.1451, allocations: 0.6149 MB / 0.656 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.002985/0.1481, allocations: 0.6127 MB / 0.6566 GB, free: 13.6 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)