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.001293/0.001293, 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.001204/0.001204, 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.9616/0.9616, 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.726/0.726, 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.001023/0.001023, allocations: 79.5 kB / 0.6392 GB, free: 32.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.133, 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.6202/0.7532, allocations: 417.3 MB / 1.133 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02534/0.7786, allocations: 23.45 MB / 1.156 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.7828, allocations: 376.3 kB / 1.156 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/0.7869, allocations: 2.42 MB / 1.158 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.8025, allocations: 8.301 MB / 1.167 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.4977/1.3, allocations: 5.377 MB / 1.172 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01362/1.314, allocations: 9.324 MB / 1.181 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/1.316, allocations: 0.7438 MB / 1.182 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/1.329, allocations: 5.99 MB / 1.187 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005675/1.335, allocations: 2.415 MB / 1.19 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0006414/1.335, allocations: 315.1 kB / 1.19 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/1.347, allocations: 5.404 MB / 1.195 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007278/1.347, allocations: 0.8742 MB / 1.196 GB, free: 26.49 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/1.35, allocations: 2.054 MB / 1.198 GB, free: 25.83 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01815/1.368, allocations: 10.52 MB / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.368, allocations: 1.688 kB / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.522e-06/1.368, allocations: 0 / 1.209 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.172e-05/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.009988/1.378, allocations: 6.692 MB / 1.215 GB, free: 21.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/1.378, allocations: 8.938 kB / 1.215 GB, free: 21.52 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004649/1.378, allocations: 473.7 kB / 1.216 GB, free: 21.46 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/1.384, allocations: 1.422 MB / 1.217 GB, free: 21.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/1.389, allocations: 3.389 MB / 1.22 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005353/1.389, allocations: 1.216 MB / 1.221 GB, free: 19 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/1.39, allocations: 364.7 kB / 1.222 GB, free: 18.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004803/1.394, allocations: 4.066 MB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/1.394, allocations: 12.92 kB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/1.395, allocations: 142.7 kB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/1.395, allocations: 90.22 kB / 1.226 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004033/1.399, allocations: 2.968 MB / 1.229 GB, free: 18.23 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.01298/1.412, allocations: 12.63 MB / 1.241 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/1.414, allocations: 1.937 MB / 1.243 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.416, allocations: 0.9716 MB / 1.244 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.417, allocations: 0.72 MB / 1.245 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/1.417, allocations: 79.27 kB / 1.245 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=213): time 4.197e-06/1.417, allocations: 0.9062 kB / 1.245 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=261): time 0.03956/1.456, allocations: 30.18 MB / 1.274 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/1.456, allocations: 0.5166 MB / 1.275 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/1.461, allocations: 4.523 MB / 1.279 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/1.461, allocations: 71.02 kB / 1.279 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.462, allocations: 2.287 MB / 1.281 GB, free: 5.258 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/1.463, allocations: 0.9242 MB / 1.282 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000828/1.464, allocations: 0.7133 MB / 1.283 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.464, allocations: 311.5 kB / 1.283 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.466, allocations: 0.9478 MB / 1.284 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.468, allocations: 1.505 MB / 1.286 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/1.471, allocations: 2.457 MB / 1.288 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.471, allocations: 2.562 kB / 1.288 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005263/1.476, allocations: 3.488 MB / 1.292 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.476, allocations: 15.28 kB / 1.292 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.476, allocations: 17.88 kB / 1.292 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/1.477, allocations: 190.8 kB / 1.292 GB, free: 2.691 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/1.479, allocations: 0.8907 MB / 1.293 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006443/1.479, allocations: 1.163 MB / 1.294 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.482, allocations: 216.7 kB / 1.294 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/1.482, allocations: 412 kB / 1.294 GB, free: 1.594 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.001386/1.484, allocations: 0.5919 MB / 1.295 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/1.484, allocations: 0.5775 MB / 1.296 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/1.491, allocations: 6.155 MB / 1.302 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.491, allocations: 24.75 kB / 1.302 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.491, allocations: 5.656 kB / 1.302 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/1.491, allocations: 20.14 kB / 1.302 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.505, allocations: 10.96 MB / 1.312 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/1.505, allocations: 35.14 kB / 1.312 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.506, allocations: 0.5231 MB / 1.313 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/1.506, allocations: 204.4 kB / 1.313 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.506, allocations: 115.1 kB / 1.313 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005392/1.507, allocations: 1.187 MB / 1.314 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/1.507, allocations: 48.47 kB / 1.314 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/1.512, allocations: 5.103 MB / 1.319 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.513, allocations: 0.7516 MB / 1.32 GB, free: 6.844 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/1.514, allocations: 88.67 kB / 1.32 GB, free: 6.793 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.515, allocations: 143.4 kB / 1.32 GB, free: 6.711 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.516, allocations: 299.5 kB / 1.321 GB, free: 6.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.516, allocations: 179 kB / 1.321 GB, free: 6.418 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003044/1.519, allocations: 3.107 MB / 1.324 GB, free: 4.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/1.519, allocations: 0 / 1.324 GB, free: 4.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004272/1.523, allocations: 1.621 MB / 1.325 GB, free: 3.309 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.008301/1.532, allocations: 7.713 MB / 1.333 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004131/1.536, allocations: 2.306 MB / 1.335 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/1.536, allocations: 4 kB / 1.335 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.538, allocations: 1.185 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.007005/1.545, allocations: 2.401 MB / 1.339 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03862/1.583, allocations: 33.72 MB / 1.372 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.584, allocations: 1.852 MB / 1.373 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005545/1.59, allocations: 3.559 MB / 1.377 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/1.593, allocations: 2.564 MB / 1.379 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of SimCode: time 1.773e-06/1.593, allocations: 0 / 1.379 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/1.751, allocations: 154.2 MB / 1.53 GB, free: 14 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.53, allocations: 3.938 kB / 1.53 GB, free: 14 MB / 1.151 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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: 17.674574056640267] Failed to read output from testmodel.py, exit status != 0: 14.691414576023817 14.701587028 13.331702414 Calling exit ...