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.001517/0.001517, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001334/0.001334, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.109/1.109, allocations: 177.1 MB / 202.8 MB, free: 5.555 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.8899/0.8899, allocations: 118.6 MB / 377.8 MB, free: 1.598 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 6.112e-06/6.112e-06, allocations: 0 / 0.5572 GB, free: 9.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.916e-05/7.527e-05, allocations: 4.812 kB / 0.5572 GB, free: 9.07 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.7823/0.7823, allocations: 205.2 MB / 0.7576 GB, free: 7.461 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.7968, allocations: 5.777 MB / 0.7632 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.8007, allocations: 76.72 kB / 0.7633 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.8048, allocations: 0.6834 MB / 0.7639 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.8181, allocations: 2.35 MB / 0.7662 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006893/0.825, allocations: 1.375 MB / 0.7676 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007362/0.8323, allocations: 2.593 MB / 0.7701 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.8335, allocations: 236.8 kB / 0.7703 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/0.8408, allocations: 1.671 MB / 0.772 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.8434, allocations: 0.623 MB / 0.7726 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.8438, allocations: 104 kB / 0.7727 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008278/0.8521, allocations: 1.676 MB / 0.7743 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009689/0.8531, allocations: 286.6 kB / 0.7746 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.8549, allocations: 0.5104 MB / 0.7751 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.8688, allocations: 3.159 MB / 0.7782 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-05/0.8689, allocations: 0 / 0.7782 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.011e-06/0.8689, allocations: 0 / 0.7782 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001135/0.869, allocations: 0 / 0.7782 GB, free: 5.148 MB / 0.6198 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.006637/0.8756, allocations: 2.084 MB / 0.7802 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001231/0.8757, allocations: 8.031 kB / 0.7802 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/0.876, allocations: 181.2 kB / 0.7804 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.878, allocations: 382.6 kB / 0.7808 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.8812, allocations: 0.9236 MB / 0.7817 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/0.8816, allocations: 248.5 kB / 0.7819 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.8819, allocations: 123.9 kB / 0.782 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.8844, allocations: 1.372 MB / 0.7834 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.8845, allocations: 3.75 kB / 0.7834 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.8846, allocations: 52 kB / 0.7834 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.8846, allocations: 28 kB / 0.7834 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.8866, allocations: 0.9883 MB / 0.7844 GB, free: 14.54 MB / 0.6355 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.007723/0.8943, allocations: 3.819 MB / 0.7881 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.8965, allocations: 1.045 MB / 0.7891 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.8972, allocations: 444.4 kB / 0.7896 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.8977, allocations: 142.6 kB / 0.7897 GB, free: 9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.8978, allocations: 48.22 kB / 0.7898 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 1.052e-05/0.8978, allocations: 0 / 0.7898 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=108): time 0.006835/0.9047, allocations: 2.752 MB / 0.7924 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.9047, allocations: 68.34 kB / 0.7925 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.9063, allocations: 1.016 MB / 0.7935 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.9064, allocations: 45.7 kB / 0.7935 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/0.907, allocations: 0.5959 MB / 0.7941 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.9075, allocations: 384.6 kB / 0.7945 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.9078, allocations: 242.8 kB / 0.7947 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.908, allocations: 349.9 kB / 0.7951 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.9093, allocations: 382.4 kB / 0.7954 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/0.9103, allocations: 0.5718 MB / 0.796 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.912, allocations: 0.9914 MB / 0.7969 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.912, allocations: 0 / 0.7969 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002883/0.9148, allocations: 1.341 MB / 0.7983 GB, free: 36 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.9149, allocations: 8 kB / 0.7983 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.9149, allocations: 7.938 kB / 0.7983 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.9163, allocations: 335.3 kB / 0.7986 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.917, allocations: 279.6 kB / 0.7989 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.9183, allocations: 0.8256 MB / 0.7997 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.9194, allocations: 63.94 kB / 0.7997 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.9195, allocations: 124 kB / 0.7998 GB, free: 14.38 MB / 0.6511 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.0007802/0.9203, allocations: 273.5 kB / 0.8001 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.9207, allocations: 147.1 kB / 0.8002 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.9255, allocations: 2.494 MB / 0.8027 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.9256, allocations: 15.98 kB / 0.8027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.9256, allocations: 3.938 kB / 0.8027 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.9256, allocations: 3.984 kB / 0.8027 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.9311, allocations: 2.608 MB / 0.8053 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.9311, allocations: 8.125 kB / 0.8053 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.9316, allocations: 207.7 kB / 0.8055 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.9327, allocations: 303.5 kB / 0.8057 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/0.9328, allocations: 43.98 kB / 0.8058 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.9338, allocations: 0.8283 MB / 0.8066 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.9338, allocations: 7.938 kB / 0.8066 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.9364, allocations: 1.417 MB / 0.808 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/0.9372, allocations: 238.8 kB / 0.8082 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.9374, allocations: 23.98 kB / 0.8082 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.9379, allocations: 51.95 kB / 0.8083 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.9381, allocations: 116.7 kB / 0.8084 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.9382, allocations: 95.91 kB / 0.8085 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001783/0.94, allocations: 0.7171 MB / 0.8092 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/0.94, allocations: 3.938 kB / 0.8092 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002429/0.9425, allocations: 483.4 kB / 0.8097 GB, free: 4.082 MB / 0.6511 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.004535/0.947, allocations: 2.481 MB / 0.8121 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.9495, allocations: 0.9797 MB / 0.813 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.377e-05/0.9496, allocations: 4 kB / 0.813 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.9505, allocations: 0.5172 MB / 0.8135 GB, free: 24 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.9539, allocations: 0.7847 MB / 0.8143 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/0.9754, allocations: 9.878 MB / 0.824 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.9761, allocations: 0.5621 MB / 0.8245 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002696/0.9788, allocations: 1.052 MB / 0.8255 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.9801, allocations: 0.6213 MB / 0.8261 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of SimCode: time 2.495e-06/0.9801, allocations: 0 / 0.8261 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.098, allocations: 48.52 MB / 0.8735 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.93, allocations: 19.83 kB / 0.8735 GB, free: 2.797 MB / 0.7136 GB " [Timeout remaining time 646] (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: 17.916913891211152]