Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001132/0.001132, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.69 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002517/0.1358, allocations: 1.268 MB / 0.6333 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.1367, allocations: 0.5918 MB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.1368, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1368, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.1369, allocations: 7.922 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.1375, allocations: 147.4 kB / 0.634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.38e-05/0.1375, allocations: 19.94 kB / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.1376, allocations: 3.984 kB / 0.6341 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.1376, allocations: 4 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.1377, allocations: 15.92 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1377, allocations: 4 kB / 0.6341 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.1382, allocations: 339.3 kB / 0.6344 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1382, allocations: 3.984 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1382, allocations: 11.94 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.1385, allocations: 151.6 kB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1385, allocations: 0 / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1385, allocations: 0 / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1385, allocations: 0 / 0.6346 GB, free: 1.828 MB / 478.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.0004536/0.139, allocations: 359.4 kB / 0.6349 GB, free: 1.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.139, allocations: 8.031 kB / 0.6349 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1391, allocations: 8.844 kB / 0.6349 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1392, allocations: 160.4 kB / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1393, allocations: 8.375 kB / 0.6351 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1393, allocations: 8.359 kB / 0.6351 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1394, allocations: 46.12 kB / 0.6351 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1394, allocations: 192 / 0.6351 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1394, allocations: 3.938 kB / 0.6351 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1394, allocations: 4 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.1395, allocations: 15.98 kB / 0.6352 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.1398, allocations: 244.9 kB / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.14, allocations: 54.62 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1401, allocations: 28.72 kB / 0.6355 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1401, allocations: 0 / 0.6355 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1401, allocations: 30.56 kB / 0.6355 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1401, allocations: 0 / 0.6355 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.1403, allocations: 57.69 kB / 0.6356 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1404, allocations: 55.41 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.1404, allocations: 97.86 kB / 0.6357 GB, free: 480 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1404, allocations: 25.7 kB / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1405, allocations: 91.97 kB / 0.6358 GB, free: 352 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.1405, allocations: 11.81 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1405, allocations: 17.72 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1407, allocations: 318.8 kB / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.1407, allocations: 7.984 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.1407, allocations: 25.72 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.1408, allocations: 21.72 kB / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1408, allocations: 7.984 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.268e-05/0.1409, allocations: 57.7 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1409, allocations: 7.984 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1409, allocations: 8 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1409, allocations: 0 / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.141, allocations: 12.03 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.141, allocations: 0 / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.141, allocations: 0 / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.141, allocations: 4 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB 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 (5): * Single equations (assignments): 5 * 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 6.919e-05/0.1411, allocations: 113.8 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1411, allocations: 432 / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.1413, allocations: 76.98 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1413, allocations: 0 / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1413, allocations: 4 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1413, allocations: 4 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.1415, allocations: 157.6 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1415, allocations: 0 / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1415, allocations: 4 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1415, allocations: 4 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.1415, allocations: 0 / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1415, allocations: 3.938 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1415, allocations: 7.922 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.1417, allocations: 159.4 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.1417, allocations: 81.05 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1417, allocations: 0 / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.1418, allocations: 8 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1418, allocations: 0 / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1418, allocations: 0 / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.131e-05/0.1418, allocations: 83.27 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1421, allocations: 16 kB / 0.637 GB, free: 15.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001664/0.1422, allocations: 127.2 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.246e-05/0.1423, allocations: 27.92 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1424, allocations: 0 / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.1424, allocations: 8 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.1426, allocations: 9.344 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.1428, allocations: 118.6 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1431, allocations: 0.6885 MB / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.1431, allocations: 0 / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.1431, allocations: 11.44 kB / 0.6379 GB, free: 13.96 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1431, allocations: 0 / 0.6379 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Templates: time 0.002293/0.1454, allocations: 0.5069 MB / 0.6384 GB, free: 13.45 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)