Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.911/0.911, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5213/0.5213, allocations: 80.18 MB / 339.4 MB, free: 7.547 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.635e-05, allocations: 4.188 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1124/0.1124, allocations: 121.8 MB / 0.6114 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1135, allocations: 1.145 MB / 0.6125 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1136, allocations: 23.81 kB / 0.6125 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.114, allocations: 111.2 kB / 0.6126 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.1143, allocations: 158.9 kB / 0.6128 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1146, allocations: 183.2 kB / 0.6129 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1149, allocations: 358.2 kB / 0.6133 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.115, allocations: 47.48 kB / 0.6133 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.1154, allocations: 275 kB / 0.6136 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1155, allocations: 103.7 kB / 0.6137 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1155, allocations: 16 kB / 0.6137 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.1158, allocations: 179.5 kB / 0.6139 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.1158, allocations: 35.78 kB / 0.6139 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.1159, allocations: 63.84 kB / 0.614 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1163, allocations: 295 kB / 0.6142 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1163, allocations: 0 / 0.6142 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1163, allocations: 0 / 0.6142 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1163, allocations: 0 / 0.6142 GB, free: 11.22 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007055/0.117, allocations: 0.5156 MB / 0.6147 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.117, allocations: 13.47 kB / 0.6148 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.117, allocations: 46.73 kB / 0.6148 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.1171, allocations: 28.75 kB / 0.6148 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.1175, allocations: 259.3 kB / 0.6151 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1175, allocations: 12.38 kB / 0.6151 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1175, allocations: 12.38 kB / 0.6151 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1178, allocations: 173.7 kB / 0.6153 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1178, allocations: 0 / 0.6153 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1178, allocations: 4 kB / 0.6153 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1178, allocations: 4 kB / 0.6153 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.118, allocations: 103.9 kB / 0.6154 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.1188, allocations: 0.7142 MB / 0.6161 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.119, allocations: 86.45 kB / 0.6162 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1191, allocations: 44.94 kB / 0.6162 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.1192, allocations: 8 kB / 0.6162 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1194, allocations: 87.34 kB / 0.6163 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1194, allocations: 0 / 0.6163 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003223/0.1197, allocations: 157.4 kB / 0.6164 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1198, allocations: 63.33 kB / 0.6165 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1199, allocations: 280.5 kB / 0.6168 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.12, allocations: 29.64 kB / 0.6168 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.12, allocations: 183.7 kB / 0.617 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.1201, allocations: 23.84 kB / 0.617 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1201, allocations: 29.7 kB / 0.617 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.1202, allocations: 338.8 kB / 0.6173 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1203, allocations: 69.67 kB / 0.6174 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.1204, allocations: 106.8 kB / 0.6175 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1206, allocations: 158.6 kB / 0.6177 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1206, allocations: 4 kB / 0.6177 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002458/0.1208, allocations: 236.7 kB / 0.6179 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.1209, allocations: 37.84 kB / 0.6179 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1209, allocations: 4 kB / 0.6179 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1209, allocations: 7.938 kB / 0.6179 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.121, allocations: 27.98 kB / 0.618 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.121, allocations: 11.88 kB / 0.618 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.1211, allocations: 23.88 kB / 0.618 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1211, allocations: 8 kB / 0.618 GB, free: 7.066 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 8.953e-05/0.1212, allocations: 133.8 kB / 0.6181 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.1212, allocations: 19.86 kB / 0.6182 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.1214, allocations: 143.5 kB / 0.6183 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1214, allocations: 0 / 0.6183 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1214, allocations: 7.938 kB / 0.6183 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1214, allocations: 0 / 0.6183 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1216, allocations: 200.7 kB / 0.6185 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1216, allocations: 0 / 0.6185 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.1216, allocations: 19.98 kB / 0.6185 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1216, allocations: 0 / 0.6185 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1217, allocations: 0 / 0.6185 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1217, allocations: 8 kB / 0.6185 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1217, allocations: 7.922 kB / 0.6185 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1219, allocations: 192.8 kB / 0.6187 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.122, allocations: 15.89 kB / 0.6187 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.122, allocations: 4 kB / 0.6187 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.122, allocations: 7.984 kB / 0.6187 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1221, allocations: 19.86 kB / 0.6188 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1221, allocations: 15.98 kB / 0.6188 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001203/0.1222, allocations: 191.1 kB / 0.619 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.1222, allocations: 0 / 0.619 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001896/0.1224, allocations: 47.89 kB / 0.619 GB, free: 5.969 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0006039/0.123, allocations: 0.7568 MB / 0.6197 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.1232, allocations: 184.9 kB / 0.6199 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1232, allocations: 0 / 0.6199 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.1233, allocations: 35.97 kB / 0.6199 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1236, allocations: 72.31 kB / 0.62 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1255, allocations: 2.375 MB / 0.6223 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.285e-05/0.1256, allocations: 134.1 kB / 0.6225 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.1257, allocations: 25.95 kB / 0.6225 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.1257, allocations: 72.47 kB / 0.6226 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.1257, allocations: 0 / 0.6226 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.1478, allocations: 6.694 MB / 0.6291 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.205, allocations: 11.12 kB / 0.6291 GB, free: 11.59 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 9.942665378563106] Failed to read output from testmodel.py, exit status != 0: 7.287142219953239 7.521145251 7.401982418 Calling exit ...