Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 107.7 kB / 16.41 MB, free: 6.48 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.001632/0.001633, allocations: 197.2 kB / 17.34 MB, free: 5.754 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.269/1.269, allocations: 222.9 MB / 241 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.6982/0.6982, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 58.48 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 76.17 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00285/0.1421, allocations: 1.62 MB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1442, allocations: 1.491 MB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.1443, allocations: 0 / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.1448, allocations: 55.75 kB / 0.6347 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.145, allocations: 51.7 kB / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1453, allocations: 113.6 kB / 0.6348 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1456, allocations: 159.6 kB / 0.635 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.1456, allocations: 12.16 kB / 0.635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1457, allocations: 71.75 kB / 0.6351 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1459, allocations: 63.81 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.146, allocations: 11.94 kB / 0.6352 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1461, allocations: 71.95 kB / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.1462, allocations: 39.91 kB / 0.6353 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.1463, allocations: 67.53 kB / 0.6353 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1466, allocations: 194.3 kB / 0.6355 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1466, allocations: 0 / 0.6355 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1466, allocations: 4 kB / 0.6355 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1466, allocations: 0 / 0.6355 GB, free: 0.8477 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006285/0.1472, allocations: 467.5 kB / 0.636 GB, free: 352 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1473, allocations: 8.031 kB / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.1473, allocations: 38.75 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.1474, allocations: 24.73 kB / 0.636 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.1478, allocations: 260.1 kB / 0.6363 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1479, allocations: 4.375 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1479, allocations: 7.938 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1481, allocations: 115.3 kB / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1481, allocations: 4 kB / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1482, allocations: 0 / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1482, allocations: 0 / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.1484, allocations: 143.8 kB / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.1486, allocations: 233.5 kB / 0.6368 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.149, allocations: 174.5 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.1491, allocations: 52.84 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.1492, allocations: 11.97 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.1494, allocations: 111.3 kB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1494, allocations: 0 / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004762/0.1499, allocations: 224.8 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.1499, allocations: 81.11 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1501, allocations: 218.2 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1502, allocations: 25.7 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.1502, allocations: 116.1 kB / 0.6377 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.1503, allocations: 39.45 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.1503, allocations: 33.7 kB / 0.6378 GB, free: 14.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1504, allocations: 330.8 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.1505, allocations: 43.98 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1507, allocations: 82.48 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1509, allocations: 121.7 kB / 0.6384 GB, free: 13.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1509, allocations: 7.875 kB / 0.6384 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003116/0.1512, allocations: 189.4 kB / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1512, allocations: 8 kB / 0.6385 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1512, allocations: 0 / 0.6385 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1513, allocations: 0 / 0.6385 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1514, allocations: 23.98 kB / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1514, allocations: 8.062 kB / 0.6386 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1515, allocations: 15.84 kB / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1515, allocations: 4 kB / 0.6386 GB, free: 13.42 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001201/0.1516, allocations: 151.7 kB / 0.6387 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.1516, allocations: 15.81 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.1517, allocations: 21.53 kB / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1517, allocations: 7.984 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1517, allocations: 0 / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1517, allocations: 0 / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1519, allocations: 245.4 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1519, allocations: 0 / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.152, allocations: 19.98 kB / 0.639 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.152, allocations: 4 kB / 0.639 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.152, allocations: 8 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.152, allocations: 0 / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.152, allocations: 4 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1524, allocations: 212.8 kB / 0.6393 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.1524, allocations: 96.86 kB / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1525, allocations: 8 kB / 0.6394 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.1525, allocations: 3.984 kB / 0.6394 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1526, allocations: 15.98 kB / 0.6394 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1526, allocations: 4 kB / 0.6394 GB, free: 12.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1527, allocations: 152.5 kB / 0.6395 GB, free: 12.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1527, allocations: 0 / 0.6395 GB, free: 12.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.153, allocations: 32 kB / 0.6396 GB, free: 12.34 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001433/0.1544, allocations: 1.105 MB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1547, allocations: 127.9 kB / 0.6408 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1547, allocations: 0 / 0.6408 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1548, allocations: 55.98 kB / 0.6408 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1551, allocations: 32.58 kB / 0.6408 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1571, allocations: 1.939 MB / 0.6427 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.1574, allocations: 0.7241 MB / 0.6434 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1575, allocations: 53.58 kB / 0.6435 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1576, allocations: 63.41 kB / 0.6436 GB, free: 8.285 MB / 494.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1576, allocations: 0 / 0.6436 GB, free: 8.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.1808, allocations: 4.758 MB / 0.6482 GB, free: 3.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.743, allocations: 11.81 kB / 0.6482 GB, free: 3.66 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)