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.0009543/0.0009543, 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.0008464/0.0008464, 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 1.17/1.17, allocations: 230.6 MB / 256 MB, free: 9.594 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.7943/0.7943, allocations: 154.1 MB / 466.6 MB, free: 3.328 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.00109/0.00109, allocations: 80.11 kB / 0.6438 GB, free: 28.31 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2033, allocations: 88.78 MB / 0.7305 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 0.8446/1.048, allocations: 417.5 MB / 1.138 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.03033/1.078, allocations: 23.5 MB / 1.161 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008488/1.087, allocations: 404.1 kB / 1.162 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.007276/1.094, allocations: 2.432 MB / 1.164 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.6734/1.767, allocations: 8.34 MB / 1.172 GB, free: 5.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01575/1.783, allocations: 5.382 MB / 1.177 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01969/1.803, allocations: 9.399 MB / 1.187 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/1.806, allocations: 0.7526 MB / 1.187 GB, free: 20.9 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01649/1.822, allocations: 6.032 MB / 1.193 GB, free: 20.9 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005867/1.828, allocations: 2.444 MB / 1.196 GB, free: 20.71 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005791/1.829, allocations: 316.5 kB / 1.196 GB, free: 20.71 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/1.844, allocations: 5.401 MB / 1.201 GB, free: 20.71 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.845, allocations: 0.8826 MB / 1.202 GB, free: 20.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0036/1.849, allocations: 2.089 MB / 1.204 GB, free: 19.79 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.02446/1.873, allocations: 10.68 MB / 1.214 GB, free: 18.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/1.873, allocations: 0.875 kB / 1.214 GB, free: 18.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.277e-06/1.873, allocations: 0 / 1.214 GB, free: 18.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000135/1.873, allocations: 0 / 1.214 GB, free: 18.3 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.01044/1.884, allocations: 6.866 MB / 1.221 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/1.884, allocations: 8.75 kB / 1.221 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004205/1.884, allocations: 475.4 kB / 1.222 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005547/1.89, allocations: 1.44 MB / 1.223 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/1.896, allocations: 3.536 MB / 1.226 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007748/1.896, allocations: 1.217 MB / 1.228 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000525/1.897, allocations: 366 kB / 1.228 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005633/1.903, allocations: 4.07 MB / 1.232 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/1.903, allocations: 5.844 kB / 1.232 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/1.903, allocations: 144.8 kB / 1.232 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/1.903, allocations: 89.66 kB / 1.232 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/1.908, allocations: 2.973 MB / 1.235 GB, free: 12.03 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.01586/1.923, allocations: 12.68 MB / 1.247 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/1.926, allocations: 1.939 MB / 1.249 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.928, allocations: 0.9732 MB / 1.25 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.929, allocations: 0.723 MB / 1.251 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.479e-05/1.929, allocations: 76.47 kB / 1.251 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=213): time 5.36e-06/1.929, allocations: 0.9062 kB / 1.251 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of matching and sorting (n=261): time 0.04634/1.976, allocations: 30.76 MB / 1.281 GB, free: 116 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002419/1.976, allocations: 0.5159 MB / 1.282 GB, free: 15.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005792/1.982, allocations: 4.692 MB / 1.286 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006452/1.982, allocations: 66.52 kB / 1.286 GB, free: 15.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.984, allocations: 2.378 MB / 1.289 GB, free: 14.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/1.985, allocations: 0.918 MB / 1.29 GB, free: 14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009434/1.986, allocations: 0.7164 MB / 1.29 GB, free: 13.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.986, allocations: 307.7 kB / 1.291 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/1.988, allocations: 0.9541 MB / 1.291 GB, free: 13.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/1.99, allocations: 1.499 MB / 1.293 GB, free: 13.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/1.994, allocations: 2.449 MB / 1.295 GB, free: 12.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.994, allocations: 12.59 kB / 1.295 GB, free: 12.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005519/1.999, allocations: 3.512 MB / 1.299 GB, free: 12.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.999, allocations: 14.44 kB / 1.299 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.999, allocations: 19.84 kB / 1.299 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/2, allocations: 189.8 kB / 1.299 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/2.002, allocations: 0.8869 MB / 1.3 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/2.002, allocations: 1.162 MB / 1.301 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/2.005, allocations: 215 kB / 1.301 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/2.006, allocations: 408.5 kB / 1.302 GB, free: 10.94 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.001538/2.007, allocations: 0.6091 MB / 1.302 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/2.008, allocations: 0.5952 MB / 1.303 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007177/2.015, allocations: 6.17 MB / 1.309 GB, free: 9.488 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/2.015, allocations: 30.91 kB / 1.309 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/2.015, allocations: 4.406 kB / 1.309 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/2.015, allocations: 16.81 kB / 1.309 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/2.03, allocations: 11.03 MB / 1.32 GB, free: 2.398 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/2.03, allocations: 36.12 kB / 1.32 GB, free: 2.363 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/2.031, allocations: 0.5234 MB / 1.32 GB, free: 1.969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006166/2.031, allocations: 201.9 kB / 1.32 GB, free: 1.816 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/2.032, allocations: 112.1 kB / 1.32 GB, free: 1.746 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006569/2.032, allocations: 1.19 MB / 1.322 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.962e-05/2.032, allocations: 48.66 kB / 1.322 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/2.038, allocations: 5.125 MB / 1.327 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/2.04, allocations: 0.7753 MB / 1.327 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/2.04, allocations: 91.92 kB / 1.327 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/2.042, allocations: 140.3 kB / 1.328 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/2.042, allocations: 299.9 kB / 1.328 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/2.043, allocations: 177.1 kB / 1.328 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003802/2.046, allocations: 3.211 MB / 1.331 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.6e-07/2.046, allocations: 4 kB / 1.331 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00533/2.052, allocations: 1.623 MB / 1.333 GB, free: 7.738 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.01056/2.062, allocations: 7.743 MB / 1.34 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004523/2.067, allocations: 2.284 MB / 1.343 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/2.067, allocations: 11.44 kB / 1.343 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/2.069, allocations: 1.173 MB / 1.344 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007874/2.077, allocations: 2.534 MB / 1.346 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/2.121, allocations: 34.44 MB / 1.38 GB, free: 13.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/2.123, allocations: 1.912 MB / 1.382 GB, free: 11.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006642/2.13, allocations: 3.586 MB / 1.385 GB, free: 7.734 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/2.132, allocations: 2.668 MB / 1.388 GB, free: 5.066 MB / 1.01 GB Notification: Performance of SimCode: time 2.905e-06/2.132, allocations: 0 / 1.388 GB, free: 5.066 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/2.318, allocations: 157.9 MB / 1.542 GB, free: 8.387 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/18.64, allocations: 11.84 kB / 1.542 GB, free: 8.375 MB / 1.167 GB " [Timeout remaining time 641] (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: 22.51309761099401]