Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0007797/0.0007797, 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.0008699/0.0008699, allocations: 217.2 kB / 22.25 MB, free: 3.582 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.9216/0.9216, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7461/0.7461, allocations: 154.1 MB / 466.6 MB, free: 3.293 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 83.81 kB / 0.6438 GB, free: 28.28 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1273, allocations: 88.78 MB / 0.7305 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 0.7394/0.8667, allocations: 417.5 MB / 1.138 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02488/0.8916, allocations: 23.5 MB / 1.161 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.8954, allocations: 404.1 kB / 1.162 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.9001, allocations: 2.428 MB / 1.164 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.5643/1.464, allocations: 8.339 MB / 1.172 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0133/1.478, allocations: 5.393 MB / 1.177 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01668/1.494, allocations: 9.393 MB / 1.187 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/1.496, allocations: 0.7541 MB / 1.187 GB, free: 20.95 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/1.508, allocations: 6.032 MB / 1.193 GB, free: 20.95 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/1.512, allocations: 2.445 MB / 1.196 GB, free: 20.82 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0004847/1.512, allocations: 315.8 kB / 1.196 GB, free: 20.82 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.526, allocations: 5.401 MB / 1.201 GB, free: 20.82 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0008684/1.527, allocations: 0.8812 MB / 1.202 GB, free: 20.58 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002519/1.529, allocations: 2.078 MB / 1.204 GB, free: 19.89 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0221/1.551, allocations: 10.68 MB / 1.214 GB, free: 18.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.551, allocations: 3.094 kB / 1.214 GB, free: 18.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.055e-06/1.551, allocations: 3.938 kB / 1.214 GB, free: 18.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001012/1.551, allocations: 0 / 1.214 GB, free: 18.4 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.008506/1.56, allocations: 6.87 MB / 1.221 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.56, allocations: 11.53 kB / 1.221 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000374/1.56, allocations: 475.3 kB / 1.222 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/1.565, allocations: 1.438 MB / 1.223 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/1.57, allocations: 3.536 MB / 1.226 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006291/1.57, allocations: 1.22 MB / 1.228 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/1.571, allocations: 360.4 kB / 1.228 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/1.575, allocations: 4.073 MB / 1.232 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/1.575, allocations: 7.406 kB / 1.232 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/1.575, allocations: 142.1 kB / 1.232 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/1.575, allocations: 92.61 kB / 1.232 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/1.579, allocations: 2.972 MB / 1.235 GB, free: 12.13 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.01193/1.591, allocations: 12.67 MB / 1.247 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/1.594, allocations: 1.935 MB / 1.249 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/1.595, allocations: 0.9693 MB / 1.25 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.596, allocations: 0.719 MB / 1.251 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/1.596, allocations: 82.31 kB / 1.251 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=213): time 4.227e-06/1.596, allocations: 0 / 1.251 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of matching and sorting (n=261): time 0.04096/1.637, allocations: 30.76 MB / 1.281 GB, free: 240 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002504/1.637, allocations: 0.5154 MB / 1.282 GB, free: 15.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/1.642, allocations: 4.693 MB / 1.286 GB, free: 15.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/1.642, allocations: 68.17 kB / 1.286 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.643, allocations: 2.373 MB / 1.289 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/1.644, allocations: 0.9227 MB / 1.29 GB, free: 14.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/1.645, allocations: 0.7205 MB / 1.29 GB, free: 14.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/1.645, allocations: 309 kB / 1.291 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.646, allocations: 0.9554 MB / 1.291 GB, free: 13.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/1.648, allocations: 1.495 MB / 1.293 GB, free: 13.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/1.651, allocations: 2.457 MB / 1.295 GB, free: 12.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.651, allocations: 3.031 kB / 1.295 GB, free: 12.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.004782/1.656, allocations: 3.517 MB / 1.299 GB, free: 12.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.656, allocations: 15.8 kB / 1.299 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.656, allocations: 14.84 kB / 1.299 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.657, allocations: 196.3 kB / 1.299 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/1.659, allocations: 0.8815 MB / 1.3 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005883/1.659, allocations: 1.165 MB / 1.301 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.661, allocations: 215.3 kB / 1.301 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/1.662, allocations: 409.9 kB / 1.302 GB, free: 11.05 MB / 0.948 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.001016/1.663, allocations: 0.5979 MB / 1.302 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006942/1.663, allocations: 0.5979 MB / 1.303 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006888/1.67, allocations: 6.171 MB / 1.309 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.67, allocations: 25.59 kB / 1.309 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.67, allocations: 5.844 kB / 1.309 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.67, allocations: 18.47 kB / 1.309 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.683, allocations: 11.02 MB / 1.32 GB, free: 2.465 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/1.684, allocations: 35.94 kB / 1.32 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.685, allocations: 0.523 MB / 1.32 GB, free: 2.039 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/1.685, allocations: 206.5 kB / 1.32 GB, free: 1.883 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.685, allocations: 116.8 kB / 1.32 GB, free: 1.809 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007669/1.686, allocations: 1.189 MB / 1.322 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-05/1.686, allocations: 51.47 kB / 1.322 GB, free: 0.6172 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/1.691, allocations: 5.118 MB / 1.327 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.693, allocations: 0.7735 MB / 1.327 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/1.693, allocations: 95.75 kB / 1.327 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.695, allocations: 141.5 kB / 1.328 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/1.695, allocations: 294.8 kB / 1.328 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.696, allocations: 180.9 kB / 1.328 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003537/1.699, allocations: 3.208 MB / 1.331 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/1.699, allocations: 4 kB / 1.331 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004621/1.704, allocations: 1.629 MB / 1.333 GB, free: 7.797 MB / 0.9636 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.007993/1.712, allocations: 7.746 MB / 1.34 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003717/1.715, allocations: 2.291 MB / 1.343 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.715, allocations: 8.125 kB / 1.343 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.717, allocations: 1.183 MB / 1.344 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/1.723, allocations: 2.524 MB / 1.346 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0395/1.763, allocations: 34.45 MB / 1.38 GB, free: 13.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.764, allocations: 1.908 MB / 1.382 GB, free: 11.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005988/1.77, allocations: 3.581 MB / 1.385 GB, free: 7.742 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/1.773, allocations: 2.662 MB / 1.388 GB, free: 5.082 MB / 1.01 GB Notification: Performance of SimCode: time 1.873e-06/1.773, allocations: 0 / 1.388 GB, free: 5.082 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/1.936, allocations: 157.9 MB / 1.542 GB, free: 8.406 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/15.19, allocations: 16 kB / 1.542 GB, free: 8.391 MB / 1.167 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 18.460336135700345]