Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6248/0.6248, allocations: 94.6 MB / 399.1 MB, free: 15.84 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 83.88 kB / 0.5444 GB, free: 12.58 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4127, allocations: 71.85 MB / 0.6145 GB, free: 3.84 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1766/0.5893, allocations: 141 MB / 0.7522 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.5921, allocations: 2.154 MB / 0.7543 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.5924, allocations: 15.88 kB / 0.7543 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.5929, allocations: 115.2 kB / 0.7545 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.5934, allocations: 151 kB / 0.7546 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.5938, allocations: 171.4 kB / 0.7548 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.5943, allocations: 334.6 kB / 0.7551 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.5945, allocations: 45.05 kB / 0.7551 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.595, allocations: 219 kB / 0.7553 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.5952, allocations: 127.5 kB / 0.7555 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.5952, allocations: 12 kB / 0.7555 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.5957, allocations: 211.6 kB / 0.7557 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.5957, allocations: 39.72 kB / 0.7557 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.5959, allocations: 111.3 kB / 0.7558 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.5964, allocations: 292.8 kB / 0.7561 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5964, allocations: 0 / 0.7561 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5964, allocations: 0 / 0.7561 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5964, allocations: 0 / 0.7561 GB, free: 3.613 MB / 0.5762 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.001065/0.5975, allocations: 0.5921 MB / 0.7567 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5975, allocations: 8.031 kB / 0.7567 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.5976, allocations: 50.67 kB / 0.7567 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.5976, allocations: 28.75 kB / 0.7568 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.5982, allocations: 319.7 kB / 0.7571 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.5982, allocations: 8.375 kB / 0.7571 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.5982, allocations: 12.38 kB / 0.7571 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.5986, allocations: 176.9 kB / 0.7572 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5986, allocations: 4 kB / 0.7572 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.5986, allocations: 4 kB / 0.7573 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.5986, allocations: 4 kB / 0.7573 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.5989, allocations: 99.86 kB / 0.7574 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6001, allocations: 0.9027 MB / 0.7582 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.6004, allocations: 82.53 kB / 0.7583 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.6006, allocations: 40.95 kB / 0.7584 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.6007, allocations: 81.11 kB / 0.7584 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.6009, allocations: 91.28 kB / 0.7585 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.6009, allocations: 0 / 0.7585 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005112/0.6014, allocations: 157.4 kB / 0.7587 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.6015, allocations: 63.39 kB / 0.7587 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.6018, allocations: 263.4 kB / 0.759 GB, free: 384 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.6018, allocations: 33.7 kB / 0.759 GB, free: 344 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.6019, allocations: 171.7 kB / 0.7592 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.602, allocations: 27.78 kB / 0.7592 GB, free: 140 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.602, allocations: 33.72 kB / 0.7592 GB, free: 100 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6022, allocations: 334.8 kB / 0.7596 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.6024, allocations: 47.97 kB / 0.7596 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.6026, allocations: 85.06 kB / 0.7597 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.6029, allocations: 154.7 kB / 0.7598 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6029, allocations: 0 / 0.7598 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004743/0.6034, allocations: 211.1 kB / 0.76 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.6034, allocations: 37.73 kB / 0.7601 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6034, allocations: 3.938 kB / 0.7601 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6034, allocations: 7.938 kB / 0.7601 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6036, allocations: 31.91 kB / 0.7601 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6036, allocations: 4 kB / 0.7601 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.6038, allocations: 31.8 kB / 0.7601 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.6038, allocations: 8 kB / 0.7601 GB, free: 15.09 MB / 0.5919 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 0.000138/0.6039, allocations: 137.8 kB / 0.7603 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.604, allocations: 23.86 kB / 0.7603 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.6044, allocations: 147.6 kB / 0.7604 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6044, allocations: 0 / 0.7604 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6044, allocations: 0 / 0.7604 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6044, allocations: 0 / 0.7604 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.6046, allocations: 233.6 kB / 0.7607 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6046, allocations: 0 / 0.7607 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.6047, allocations: 19.98 kB / 0.7607 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6047, allocations: 4 kB / 0.7607 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.6048, allocations: 7.938 kB / 0.7607 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6048, allocations: 0 / 0.7607 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6048, allocations: 0 / 0.7607 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.6053, allocations: 200.8 kB / 0.7609 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.6053, allocations: 97.06 kB / 0.761 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.6054, allocations: 7.938 kB / 0.761 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6055, allocations: 7.984 kB / 0.761 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.6055, allocations: 11.98 kB / 0.761 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.6055, allocations: 4 kB / 0.761 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002082/0.6058, allocations: 190 kB / 0.7612 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6058, allocations: 0 / 0.7612 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00028/0.606, allocations: 47.89 kB / 0.7612 GB, free: 13.87 MB / 0.5919 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.0009421/0.607, allocations: 0.7646 MB / 0.762 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.6074, allocations: 155.3 kB / 0.7621 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6074, allocations: 0 / 0.7621 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.6075, allocations: 31.97 kB / 0.7622 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.6079, allocations: 57.42 kB / 0.7622 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.6112, allocations: 2.29 MB / 0.7645 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.6116, allocations: 0.7401 MB / 0.7652 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.968e-05/0.6117, allocations: 21.95 kB / 0.7652 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.6118, allocations: 75.41 kB / 0.7653 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.6118, allocations: 0 / 0.7653 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.6425, allocations: 5.248 MB / 0.7704 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.898, allocations: 8.406 kB / 0.7704 GB, free: 4.383 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Boundaries_Tests_TerminalSourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.078606384980958] Failed to read output from testmodel.py, exit status != 0: 8.973725247982657 9.005535475 8.402784484 Calling exit ...