Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.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.0008211/0.0008211, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008443/0.0008443, allocations: 216.1 kB / 22.25 MB, free: 3.719 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 0.9827/0.9827, allocations: 230.6 MB / 256 MB, free: 9.598 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.732/0.732, allocations: 150.8 MB / 463.3 MB, free: 6.488 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.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 84.44 kB / 0.6392 GB, free: 32.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1531, allocations: 88.07 MB / 0.7252 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3): time 0.5331/0.6862, allocations: 133.6 MB / 0.8557 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0068/0.693, allocations: 5.56 MB / 0.8611 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.694, allocations: 46.03 kB / 0.8611 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.6953, allocations: 352.7 kB / 0.8615 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.6983, allocations: 1.066 MB / 0.8625 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.6998, allocations: 0.5127 MB / 0.863 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.7022, allocations: 1.312 MB / 0.8643 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.7026, allocations: 136.7 kB / 0.8644 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.7045, allocations: 0.5851 MB / 0.865 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.7057, allocations: 0.5109 MB / 0.8655 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.7059, allocations: 63.62 kB / 0.8656 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.7087, allocations: 0.9359 MB / 0.8665 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.7089, allocations: 159 kB / 0.8666 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.7096, allocations: 355 kB / 0.867 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.712, allocations: 1.433 MB / 0.8684 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.712, allocations: 0 / 0.8684 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.966e-06/0.712, allocations: 1.094 kB / 0.8684 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.816e-05/0.712, allocations: 0 / 0.8684 GB, free: 1.273 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002756/0.7148, allocations: 1.397 MB / 0.8697 GB, free: 460 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.7149, allocations: 9.281 kB / 0.8697 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.715, allocations: 109.2 kB / 0.8698 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.7152, allocations: 112.6 kB / 0.8699 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.7162, allocations: 0.5785 MB / 0.8705 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.7164, allocations: 216.5 kB / 0.8707 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.7165, allocations: 68.05 kB / 0.8708 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.7175, allocations: 0.7221 MB / 0.8715 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.7175, allocations: 0 / 0.8715 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.7176, allocations: 31.75 kB / 0.8715 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.7176, allocations: 14.03 kB / 0.8715 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.7186, allocations: 0.5983 MB / 0.8721 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.7208, allocations: 1.568 MB / 0.8736 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.722, allocations: 0.7367 MB / 0.8744 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.7225, allocations: 289.8 kB / 0.8746 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/0.723, allocations: 186.4 kB / 0.8748 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.7236, allocations: 449.3 kB / 0.8752 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 2.033e-06/0.7236, allocations: 0 / 0.8752 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.001601/0.7252, allocations: 0.9703 MB / 0.8762 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7253, allocations: 69.75 kB / 0.8763 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.7257, allocations: 0.5005 MB / 0.8767 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.7257, allocations: 46.05 kB / 0.8768 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.7259, allocations: 352.8 kB / 0.8771 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7261, allocations: 242 kB / 0.8774 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.7262, allocations: 135.8 kB / 0.8775 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7263, allocations: 383.8 kB / 0.8779 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.7268, allocations: 385.5 kB / 0.8782 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.7274, allocations: 447.8 kB / 0.8786 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/0.7283, allocations: 0.6557 MB / 0.8793 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7283, allocations: 0.875 kB / 0.8793 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001545/0.7299, allocations: 1.051 MB / 0.8803 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.73, allocations: 152.4 kB / 0.8805 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.73, allocations: 0 / 0.8805 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004374/0.7304, allocations: 74.95 kB / 0.8805 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.7307, allocations: 140.5 kB / 0.8807 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003473/0.7311, allocations: 0.5582 MB / 0.8812 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.7313, allocations: 84.47 kB / 0.8813 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.7314, allocations: 32.64 kB / 0.8813 GB, free: 11.39 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: 25 (isentropicEfficiency.count,$PRE.isentropicEfficiency.count,isentropicEfficiency.T_start,$PRE.isentropicEfficiency.T_start,massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,pressureRatio.count,$PRE.pressureRatio.count,pressureRatio.T_start,$PRE.pressureRatio.T_start,inletTemperature.count,$PRE.inletTemperature.count,inletTemperature.T_start,$PRE.inletTemperature.T_start,inletPressure.count,$PRE.inletPressure.count,inletPressure.T_start,$PRE.inletPressure.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 5 * 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.0002221/0.7316, allocations: 209 kB / 0.8815 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.7317, allocations: 75.41 kB / 0.8816 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.733, allocations: 0.8013 MB / 0.8824 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.733, allocations: 5.406 kB / 0.8824 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.733, allocations: 0 / 0.8824 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.733, allocations: 4.359 kB / 0.8824 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.7337, allocations: 0.5738 MB / 0.8829 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7337, allocations: 9.062 kB / 0.883 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.734, allocations: 125 kB / 0.8831 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.7343, allocations: 70.77 kB / 0.8831 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.7344, allocations: 24.47 kB / 0.8832 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002937/0.7347, allocations: 0.5667 MB / 0.8837 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7347, allocations: 0 / 0.8837 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.7362, allocations: 1.049 MB / 0.8847 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.7364, allocations: 136.4 kB / 0.8849 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.7364, allocations: 22.22 kB / 0.8849 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.7367, allocations: 50.72 kB / 0.8849 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.7368, allocations: 74.81 kB / 0.885 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.7368, allocations: 28.59 kB / 0.885 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002693/0.7371, allocations: 354.8 kB / 0.8854 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.7371, allocations: 8 kB / 0.8854 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006913/0.7378, allocations: 303.8 kB / 0.8857 GB, free: 9.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder.y,adiabaticFilter.dp) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inletPressure.T_start,inletPressure.count,inletTemperature.T_start,inletTemperature.count,pressureRatio.T_start,pressureRatio.count,massFlowRate.T_start,massFlowRate.count,isentropicEfficiency.T_start,isentropicEfficiency.count) * Number of discrete states: 5 (inletPressure.count,inletTemperature.count,pressureRatio.count,massFlowRate.count,isentropicEfficiency.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002203/0.74, allocations: 1.895 MB / 0.8875 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.7412, allocations: 1.013 MB / 0.8885 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7412, allocations: 3.469 kB / 0.8885 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.7417, allocations: 329.8 kB / 0.8888 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.7425, allocations: 310.2 kB / 0.8891 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.7495, allocations: 6.245 MB / 0.8952 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.7497, allocations: 344.4 kB / 0.8956 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004638/0.7502, allocations: 145.8 kB / 0.8957 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.7505, allocations: 303.3 kB / 0.896 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/0.7505, allocations: 0 / 0.896 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.7895, allocations: 24.1 MB / 0.9195 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/9.117, allocations: 9.5 kB / 0.9195 GB, free: 5.336 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3_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_Prescribed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.132344895973802] Failed to read output from testmodel.py, exit status != 0: 9.211642022244632 9.221046447 8.50688319 Calling exit ...