Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.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.001393/0.001393, 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.001323/0.001323, allocations: 212.1 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 0.9969/0.9969, allocations: 230.6 MB / 256 MB, free: 9.621 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.7388/0.7388, allocations: 150.8 MB / 463.3 MB, free: 6.453 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.Setpoint,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 79.5 kB / 0.6392 GB, free: 32.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1483, allocations: 88.08 MB / 0.7252 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 0.6407/0.789, allocations: 417.3 MB / 1.133 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.8133, allocations: 23.45 MB / 1.156 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005073/0.8184, allocations: 376.3 kB / 1.156 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.006114/0.8245, allocations: 2.417 MB / 1.158 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01921/0.8437, allocations: 8.309 MB / 1.167 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.4564/1.3, allocations: 5.374 MB / 1.172 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01203/1.312, allocations: 9.323 MB / 1.181 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/1.314, allocations: 0.745 MB / 1.182 GB, free: 26.68 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/1.326, allocations: 5.99 MB / 1.187 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/1.33, allocations: 2.414 MB / 1.19 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00086/1.331, allocations: 314.9 kB / 1.19 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.341, allocations: 5.403 MB / 1.195 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/1.343, allocations: 0.8746 MB / 1.196 GB, free: 26.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.004254/1.347, allocations: 2.054 MB / 1.198 GB, free: 25.83 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.02114/1.368, allocations: 10.52 MB / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.368, allocations: 1.688 kB / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.394e-06/1.368, allocations: 0 / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001684/1.368, allocations: 0 / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 888 * Number of variables: 888 Notification: Performance of Generate backend data structure: time 0.0103/1.379, allocations: 6.689 MB / 1.215 GB, free: 21.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.379, allocations: 9.562 kB / 1.215 GB, free: 21.52 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003962/1.379, allocations: 473.5 kB / 1.215 GB, free: 21.46 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005634/1.385, allocations: 1.421 MB / 1.217 GB, free: 21.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/1.391, allocations: 3.395 MB / 1.22 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/1.392, allocations: 1.213 MB / 1.221 GB, free: 19.01 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006681/1.392, allocations: 362.4 kB / 1.222 GB, free: 19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/1.397, allocations: 4.067 MB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/1.397, allocations: 12.5 kB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/1.397, allocations: 144.8 kB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/1.397, allocations: 87.91 kB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/1.402, allocations: 2.969 MB / 1.229 GB, free: 18.24 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/1.418, allocations: 12.62 MB / 1.241 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/1.421, allocations: 1.942 MB / 1.243 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.422, allocations: 0.9733 MB / 1.244 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.423, allocations: 0.7135 MB / 1.245 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.238e-05/1.424, allocations: 82.66 kB / 1.245 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=213): time 4.138e-06/1.424, allocations: 0.9062 kB / 1.245 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=261): time 0.03841/1.462, allocations: 30.18 MB / 1.274 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/1.462, allocations: 0.5151 MB / 1.275 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/1.467, allocations: 4.524 MB / 1.279 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006715/1.468, allocations: 71.27 kB / 1.279 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.469, allocations: 2.287 MB / 1.281 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008049/1.47, allocations: 0.923 MB / 1.282 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007409/1.47, allocations: 0.7153 MB / 1.283 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/1.47, allocations: 312 kB / 1.283 GB, free: 4.305 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.472, allocations: 0.9509 MB / 1.284 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/1.474, allocations: 1.502 MB / 1.286 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/1.477, allocations: 2.454 MB / 1.288 GB, free: 3.137 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.477, allocations: 5.875 kB / 1.288 GB, free: 3.137 MB / 0.9323 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005699/1.483, allocations: 3.489 MB / 1.292 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/1.483, allocations: 15.22 kB / 1.292 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.483, allocations: 17.47 kB / 1.292 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/1.483, allocations: 189 kB / 1.292 GB, free: 2.695 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.485, allocations: 0.8879 MB / 1.293 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006357/1.486, allocations: 1.164 MB / 1.294 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/1.489, allocations: 220.9 kB / 1.294 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/1.49, allocations: 406.7 kB / 1.294 GB, free: 1.598 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001618/1.491, allocations: 0.5923 MB / 1.295 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.492, allocations: 0.581 MB / 1.296 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/1.5, allocations: 6.153 MB / 1.302 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.5, allocations: 27.19 kB / 1.302 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.5, allocations: 8.609 kB / 1.302 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.5, allocations: 13.14 kB / 1.302 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/1.514, allocations: 10.97 MB / 1.312 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.514, allocations: 35.02 kB / 1.312 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.515, allocations: 0.5206 MB / 1.313 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/1.515, allocations: 202 kB / 1.313 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.515, allocations: 120.2 kB / 1.313 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005891/1.516, allocations: 1.186 MB / 1.314 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-05/1.516, allocations: 48.38 kB / 1.314 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008054/1.524, allocations: 5.103 MB / 1.319 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.527, allocations: 0.7552 MB / 1.32 GB, free: 6.848 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006915/1.527, allocations: 85.78 kB / 1.32 GB, free: 6.797 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.529, allocations: 143.2 kB / 1.32 GB, free: 6.715 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/1.529, allocations: 298.3 kB / 1.321 GB, free: 6.566 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/1.53, allocations: 179.8 kB / 1.321 GB, free: 6.422 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003302/1.533, allocations: 3.108 MB / 1.324 GB, free: 4.684 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.533, allocations: 0 / 1.324 GB, free: 4.684 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004892/1.538, allocations: 1.623 MB / 1.325 GB, free: 3.312 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 4 (p_out5.dp,p_out2.dp,pRatio2.dp,dp2.dp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00893/1.547, allocations: 7.712 MB / 1.333 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004274/1.551, allocations: 2.309 MB / 1.335 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.51e-05/1.551, allocations: 4 kB / 1.335 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/1.553, allocations: 1.182 MB / 1.336 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007421/1.56, allocations: 2.403 MB / 1.339 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/1.601, allocations: 33.72 MB / 1.372 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.603, allocations: 1.849 MB / 1.373 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005412/1.608, allocations: 3.556 MB / 1.377 GB, free: 7.805 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/1.611, allocations: 2.563 MB / 1.379 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of SimCode: time 1.463e-06/1.611, allocations: 0 / 1.379 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/1.776, allocations: 154.2 MB / 1.53 GB, free: 14.02 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.96, allocations: 8 kB / 1.53 GB, free: 14.01 MB / 1.151 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_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_Setpoint.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.065863400697708] Failed to read output from testmodel.py, exit status != 0: 16.123309345915914 16.137932197 14.766448567 Calling exit ...