Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.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.0008567/0.0008567, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 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.0008653/0.0008653, allocations: 161.3 kB / 22.76 MB, free: 1.672 MB / 18.57 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.9881/0.9881, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.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.6993/0.6993, allocations: 118.6 MB / 378.2 MB, free: 1.469 MB / 346.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.Examples.AirCycle.Step7BootStrapCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 482.4 MB, free: 8.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.454e-05, allocations: 3.578 kB / 482.4 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.3847/0.3847, allocations: 205.2 MB / 0.6715 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005699/0.3904, allocations: 5.774 MB / 0.6771 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.3911, allocations: 76.56 kB / 0.6772 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3923, allocations: 0.6825 MB / 0.6778 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.3963, allocations: 2.355 MB / 0.6801 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.3986, allocations: 1.374 MB / 0.6815 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.4006, allocations: 2.588 MB / 0.684 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.4011, allocations: 240.5 kB / 0.6842 GB, free: 24.98 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.4032, allocations: 1.672 MB / 0.6859 GB, free: 24.82 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007922/0.4039, allocations: 0.616 MB / 0.6865 GB, free: 24.73 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4041, allocations: 105.3 kB / 0.6866 GB, free: 24.73 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.4067, allocations: 1.683 MB / 0.6882 GB, free: 24.63 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.4069, allocations: 287 kB / 0.6885 GB, free: 24.56 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.4073, allocations: 0.5047 MB / 0.689 GB, free: 24.49 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.41, allocations: 3.168 MB / 0.6921 GB, free: 24.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.41, allocations: 0 / 0.6921 GB, free: 24.18 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.343e-06/0.41, allocations: 2.844 kB / 0.6921 GB, free: 24.18 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.41, allocations: 1 kB / 0.6921 GB, free: 24.18 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.002783/0.4128, allocations: 2.082 MB / 0.6941 GB, free: 23.19 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4128, allocations: 8.844 kB / 0.6941 GB, free: 23.19 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.413, allocations: 181.5 kB / 0.6943 GB, free: 23.14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.4145, allocations: 0.5705 MB / 0.6949 GB, free: 22.99 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.4156, allocations: 0.9895 MB / 0.6958 GB, free: 22.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4157, allocations: 248.4 kB / 0.6961 GB, free: 22.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.4159, allocations: 124.3 kB / 0.6962 GB, free: 22.45 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.4173, allocations: 1.371 MB / 0.6975 GB, free: 22.15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4173, allocations: 0.7188 kB / 0.6975 GB, free: 22.15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.4174, allocations: 48.41 kB / 0.6976 GB, free: 22.15 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4174, allocations: 32.83 kB / 0.6976 GB, free: 22.15 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.4187, allocations: 0.9889 MB / 0.6986 GB, free: 22.13 MB / 0.573 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.003845/0.4226, allocations: 3.856 MB / 0.7023 GB, free: 20.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4241, allocations: 1.047 MB / 0.7033 GB, free: 20.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.4246, allocations: 445.5 kB / 0.7038 GB, free: 20.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.4249, allocations: 143.8 kB / 0.7039 GB, free: 20.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4249, allocations: 46.25 kB / 0.704 GB, free: 20.44 MB / 0.573 GB Notification: Performance of pre-optimization done (n=104): time 2.294e-06/0.4249, allocations: 0.75 kB / 0.704 GB, free: 20.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=108): time 0.004596/0.4295, allocations: 2.79 MB / 0.7067 GB, free: 20.06 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4296, allocations: 67.94 kB / 0.7067 GB, free: 19.99 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.4304, allocations: 1.019 MB / 0.7077 GB, free: 19.83 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.4305, allocations: 44.2 kB / 0.7078 GB, free: 19.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.4308, allocations: 0.5995 MB / 0.7084 GB, free: 19.57 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.431, allocations: 379.3 kB / 0.7087 GB, free: 19.32 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.4312, allocations: 242.8 kB / 0.709 GB, free: 19.29 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.4313, allocations: 348.2 kB / 0.7093 GB, free: 18.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.4319, allocations: 383.6 kB / 0.7097 GB, free: 18.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.4325, allocations: 0.5735 MB / 0.7102 GB, free: 18.79 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4338, allocations: 0.9911 MB / 0.7112 GB, free: 18.59 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4338, allocations: 2.5 kB / 0.7112 GB, free: 18.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001753/0.4356, allocations: 1.387 MB / 0.7125 GB, free: 18.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4356, allocations: 7.406 kB / 0.7125 GB, free: 18.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4356, allocations: 7.25 kB / 0.7126 GB, free: 18.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000774/0.4364, allocations: 329.6 kB / 0.7129 GB, free: 18.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.4369, allocations: 277.8 kB / 0.7131 GB, free: 18.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000682/0.4376, allocations: 0.8435 MB / 0.714 GB, free: 17.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.438, allocations: 55.91 kB / 0.714 GB, free: 17.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4381, allocations: 125.5 kB / 0.7141 GB, free: 17.91 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003284/0.4384, allocations: 274.7 kB / 0.7144 GB, free: 17.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.4386, allocations: 183.3 kB / 0.7146 GB, free: 17.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.4413, allocations: 2.487 MB / 0.717 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4413, allocations: 8.5 kB / 0.717 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4413, allocations: 2.938 kB / 0.717 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4413, allocations: 16.31 kB / 0.717 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.4447, allocations: 2.604 MB / 0.7196 GB, free: 16.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.4447, allocations: 8.359 kB / 0.7196 GB, free: 16.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.4451, allocations: 207.6 kB / 0.7198 GB, free: 16.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006256/0.4458, allocations: 296.9 kB / 0.7201 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.4458, allocations: 45.3 kB / 0.7201 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007786/0.4466, allocations: 0.8377 MB / 0.7209 GB, free: 16.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4466, allocations: 13.69 kB / 0.7209 GB, free: 16.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.4483, allocations: 1.447 MB / 0.7223 GB, free: 15.87 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.4485, allocations: 234.1 kB / 0.7226 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4486, allocations: 20.56 kB / 0.7226 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.449, allocations: 59.3 kB / 0.7226 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.4492, allocations: 112.8 kB / 0.7227 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.4492, allocations: 85.36 kB / 0.7228 GB, free: 15.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005588/0.4498, allocations: 0.7185 MB / 0.7235 GB, free: 15.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4498, allocations: 0 / 0.7235 GB, free: 15.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009538/0.4508, allocations: 487.1 kB / 0.724 GB, free: 15.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 simulation (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00246/0.4532, allocations: 2.526 MB / 0.7265 GB, free: 13.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.4546, allocations: 0.9794 MB / 0.7274 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4546, allocations: 0 / 0.7274 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.4553, allocations: 0.515 MB / 0.7279 GB, free: 13.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.4572, allocations: 0.8276 MB / 0.7287 GB, free: 13.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.4681, allocations: 9.982 MB / 0.7385 GB, free: 7.652 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4685, allocations: 0.5649 MB / 0.739 GB, free: 7.344 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00151/0.47, allocations: 1.054 MB / 0.7401 GB, free: 6.855 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/0.4707, allocations: 0.6207 MB / 0.7407 GB, free: 6.375 MB / 0.573 GB Notification: Performance of SimCode: time 8.42e-07/0.4707, allocations: 0 / 0.7407 GB, free: 6.375 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05422/0.5249, allocations: 48.98 MB / 0.7885 GB, free: 7.297 MB / 0.6198 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 9.65/10.18, allocations: 8 kB / 0.7885 GB, free: 7.289 MB / 0.6198 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_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.Examples.AirCycle.Step7BootStrapCycle_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_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_Examples_AirCycle_Step7BootStrapCycle.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.9141010500025]