Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.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.0007846/0.0007846, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001002/0.001002, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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 1.027/1.027, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7524/0.7524, allocations: 150.8 MB / 463.3 MB, free: 6.48 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 83.16 kB / 0.6392 GB, free: 32.6 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1501, allocations: 88.08 MB / 0.7252 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.5618/0.7119, allocations: 132.2 MB / 0.8543 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004553/0.7165, allocations: 4.42 MB / 0.8586 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.717, allocations: 49.25 kB / 0.8587 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.7177, allocations: 294.3 kB / 0.859 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.7193, allocations: 0.8242 MB / 0.8598 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.7202, allocations: 479.3 kB / 0.8602 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009514/0.7211, allocations: 1.123 MB / 0.8613 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.7213, allocations: 100.8 kB / 0.8614 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.7219, allocations: 0.4989 MB / 0.8619 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.7224, allocations: 437.9 kB / 0.8623 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.7224, allocations: 47.88 kB / 0.8624 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009847/0.7234, allocations: 0.709 MB / 0.8631 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.7236, allocations: 134 kB / 0.8632 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.7238, allocations: 288.5 kB / 0.8635 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.7252, allocations: 1.178 MB / 0.8646 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.7252, allocations: 0 / 0.8646 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7252, allocations: 1.062 kB / 0.8646 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.7252, allocations: 0 / 0.8646 GB, free: 1.488 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001547/0.7267, allocations: 1.157 MB / 0.8657 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7268, allocations: 11 kB / 0.8657 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.7268, allocations: 82.11 kB / 0.8658 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.7269, allocations: 90.91 kB / 0.8659 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.7276, allocations: 0.5397 MB / 0.8664 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/0.7277, allocations: 149.7 kB / 0.8666 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.7278, allocations: 42.59 kB / 0.8666 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.7286, allocations: 0.5778 MB / 0.8672 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.7286, allocations: 0 / 0.8672 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.7286, allocations: 19.56 kB / 0.8672 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.7286, allocations: 10.16 kB / 0.8672 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.7295, allocations: 0.5239 MB / 0.8677 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.7313, allocations: 1.345 MB / 0.869 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.7322, allocations: 477.6 kB / 0.8695 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.7327, allocations: 227.8 kB / 0.8697 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.733, allocations: 132.4 kB / 0.8698 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006556/0.7337, allocations: 356.2 kB / 0.8702 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 1.673e-06/0.7337, allocations: 1.094 kB / 0.8702 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003973/0.7377, allocations: 1.798 MB / 0.8719 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.7377, allocations: 64.2 kB / 0.872 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.7384, allocations: 0.5719 MB / 0.8726 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.7384, allocations: 35.92 kB / 0.8726 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.7386, allocations: 312.8 kB / 0.8729 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.7387, allocations: 166 kB / 0.873 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.7389, allocations: 91.06 kB / 0.8731 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.739, allocations: 321.1 kB / 0.8734 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.7395, allocations: 289.3 kB / 0.8737 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.74, allocations: 336.8 kB / 0.874 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.7409, allocations: 0.5215 MB / 0.8745 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7409, allocations: 0 / 0.8745 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001258/0.7422, allocations: 0.7887 MB / 0.8753 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.7422, allocations: 61.94 kB / 0.8754 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.7422, allocations: 0 / 0.8754 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.7426, allocations: 81.66 kB / 0.8755 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.7429, allocations: 127.9 kB / 0.8756 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003358/0.7433, allocations: 0.5606 MB / 0.8761 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.7435, allocations: 67.73 kB / 0.8762 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.7436, allocations: 19.72 kB / 0.8762 GB, free: 13.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,power.count,$PRE.power.count,power.T_start,$PRE.power.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.7437, allocations: 187 kB / 0.8764 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.7438, allocations: 76.17 kB / 0.8765 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.7452, allocations: 0.8412 MB / 0.8773 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7452, allocations: 5.094 kB / 0.8773 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.7452, allocations: 0 / 0.8773 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.7452, allocations: 6.375 kB / 0.8773 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.7457, allocations: 436.4 kB / 0.8777 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7457, allocations: 48 / 0.8777 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.746, allocations: 113.1 kB / 0.8778 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.7463, allocations: 75.59 kB / 0.8779 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.7463, allocations: 8.656 kB / 0.8779 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003069/0.7466, allocations: 0.566 MB / 0.8784 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7466, allocations: 6.594 kB / 0.8785 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.7482, allocations: 0.8718 MB / 0.8793 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.7484, allocations: 103.5 kB / 0.8794 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.7484, allocations: 10.75 kB / 0.8794 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.7487, allocations: 58.08 kB / 0.8795 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.7488, allocations: 51.09 kB / 0.8795 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.7488, allocations: 18.66 kB / 0.8795 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004122/0.7492, allocations: 441.7 kB / 0.88 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7492, allocations: 0 / 0.88 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004831/0.7497, allocations: 203 kB / 0.8802 GB, free: 11.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,power.T_start,power.count,massFlowRate.T_start,massFlowRate.count) * Number of discrete states: 2 (power.count,massFlowRate.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/0.7517, allocations: 1.635 MB / 0.8817 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.7528, allocations: 0.6792 MB / 0.8824 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7528, allocations: 3.938 kB / 0.8824 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.7533, allocations: 259.1 kB / 0.8827 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.7541, allocations: 320.8 kB / 0.883 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.7605, allocations: 5.665 MB / 0.8885 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.7607, allocations: 292.8 kB / 0.8888 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.7611, allocations: 119.6 kB / 0.8889 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.7614, allocations: 247.4 kB / 0.8891 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/0.7614, allocations: 0 / 0.8891 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.7965, allocations: 22.63 MB / 0.9112 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.944, allocations: 0 / 0.9112 GB, free: 11.33 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.073351453058422] Failed to read output from testmodel.py, exit status != 0: 9.043589836917818 9.051186846 8.324229768 Calling exit ...