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.0007198/0.0007198, allocations: 92.23 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007972/0.0007973, allocations: 171.8 kB / 16.58 MB, free: 6.848 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.199/1.199, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6149/0.6149, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002744, allocations: 11.98 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001618/0.1206, allocations: 1.329 MB / 0.5582 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1222, allocations: 1.367 MB / 0.5595 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.1223, allocations: 4 kB / 0.5595 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1226, allocations: 43.84 kB / 0.5596 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1227, allocations: 39.83 kB / 0.5596 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.123, allocations: 95.75 kB / 0.5597 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1232, allocations: 143.6 kB / 0.5598 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1232, allocations: 12.23 kB / 0.5599 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.1233, allocations: 51.78 kB / 0.5599 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1235, allocations: 67.73 kB / 0.56 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1235, allocations: 4 kB / 0.56 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1236, allocations: 51.98 kB / 0.56 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1237, allocations: 39.89 kB / 0.5601 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.1237, allocations: 45.64 kB / 0.5601 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1239, allocations: 147.9 kB / 0.5602 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1239, allocations: 0 / 0.5602 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1239, allocations: 3.938 kB / 0.5603 GB, free: 8.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1239, allocations: 4 kB / 0.5603 GB, free: 8.223 MB / 430.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.0004817/0.1244, allocations: 442.6 kB / 0.5607 GB, free: 7.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1244, allocations: 8.031 kB / 0.5607 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.1245, allocations: 42.55 kB / 0.5607 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.1245, allocations: 15.81 kB / 0.5607 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1248, allocations: 250.7 kB / 0.561 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1249, allocations: 4 kB / 0.561 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1249, allocations: 7.953 kB / 0.561 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1251, allocations: 127 kB / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1251, allocations: 0 / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1251, allocations: 0 / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1251, allocations: 0 / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1253, allocations: 139.9 kB / 0.5612 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.1256, allocations: 229.6 kB / 0.5615 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1259, allocations: 186.5 kB / 0.5616 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/0.126, allocations: 48.84 kB / 0.5617 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.126, allocations: 11.94 kB / 0.5617 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.1262, allocations: 106.7 kB / 0.5618 GB, free: 6.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1262, allocations: 0 / 0.5618 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004017/0.1266, allocations: 225.4 kB / 0.562 GB, free: 6.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1267, allocations: 85.11 kB / 0.5621 GB, free: 6.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1269, allocations: 204.4 kB / 0.5623 GB, free: 5.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1269, allocations: 29.7 kB / 0.5623 GB, free: 5.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.127, allocations: 116.1 kB / 0.5624 GB, free: 5.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.127, allocations: 43.39 kB / 0.5625 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.127, allocations: 4 kB / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.1271, allocations: 326.8 kB / 0.5628 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.1272, allocations: 47.98 kB / 0.5628 GB, free: 5.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.1273, allocations: 74.55 kB / 0.5629 GB, free: 5.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.1274, allocations: 51.98 kB / 0.563 GB, free: 5.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1274, allocations: 0 / 0.563 GB, free: 5.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002793/0.1277, allocations: 201.3 kB / 0.5631 GB, free: 5.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1278, allocations: 4 kB / 0.5632 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1278, allocations: 0 / 0.5632 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1278, allocations: 0 / 0.5632 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1279, allocations: 32.05 kB / 0.5632 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1279, allocations: 7.922 kB / 0.5632 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.128, allocations: 15.92 kB / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.128, allocations: 4 kB / 0.5632 GB, free: 4.949 MB / 430.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1281, allocations: 133.8 kB / 0.5633 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1281, allocations: 19.77 kB / 0.5634 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.1282, allocations: 29.52 kB / 0.5634 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1282, allocations: 0 / 0.5634 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1282, allocations: 4 kB / 0.5634 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1282, allocations: 3.938 kB / 0.5634 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1284, allocations: 249.4 kB / 0.5636 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1284, allocations: 0 / 0.5636 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.1285, allocations: 19.94 kB / 0.5636 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1285, allocations: 0 / 0.5636 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1285, allocations: 11.94 kB / 0.5637 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1285, allocations: 0 / 0.5637 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1285, allocations: 0 / 0.5637 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1288, allocations: 216.8 kB / 0.5639 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1288, allocations: 88.92 kB / 0.564 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1289, allocations: 8 kB / 0.564 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.1289, allocations: 11.94 kB / 0.564 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.129, allocations: 11.98 kB / 0.564 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.129, allocations: 4 kB / 0.564 GB, free: 4.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1291, allocations: 156.2 kB / 0.5641 GB, free: 3.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1291, allocations: 0 / 0.5641 GB, free: 3.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1294, allocations: 40 kB / 0.5642 GB, free: 3.871 MB / 430.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 (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.001305/0.1307, allocations: 1.098 MB / 0.5652 GB, free: 2.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.1309, allocations: 122.1 kB / 0.5654 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1309, allocations: 7.938 kB / 0.5654 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.131, allocations: 55.92 kB / 0.5654 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1313, allocations: 36.58 kB / 0.5655 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1326, allocations: 0.9876 MB / 0.5664 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1328, allocations: 0.7166 MB / 0.5671 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1329, allocations: 53.64 kB / 0.5672 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/0.133, allocations: 59.41 kB / 0.5672 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of SimCode: time 2.214e-06/0.133, allocations: 4 kB / 0.5672 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1477, allocations: 4.16 MB / 0.5713 GB, free: 12.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.148, allocations: 255.8 kB / 0.5715 GB, free: 12.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.728, allocations: 0 / 0.5715 GB, free: 12.55 MB / 446.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/linux/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) Environment - environmentSimulation: