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.001018/0.001018, 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.001152/0.001152, allocations: 215 kB / 22.25 MB, free: 3.574 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.033/1.033, allocations: 230.6 MB / 256 MB, free: 9.578 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.8206/0.8206, allocations: 154.1 MB / 466.6 MB, free: 3.312 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.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 0.001195/0.001195, allocations: 87.86 kB / 0.6438 GB, free: 28.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1897, allocations: 88.77 MB / 0.7305 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.7453/0.935, allocations: 205.5 MB / 0.9311 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009736/0.9447, allocations: 5.777 MB / 0.9368 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.9471, allocations: 76.88 kB / 0.9369 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.9492, allocations: 0.6698 MB / 0.9375 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007622/0.9569, allocations: 2.278 MB / 0.9397 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.9611, allocations: 1.366 MB / 0.9411 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004573/0.9656, allocations: 2.5 MB / 0.9435 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007512/0.9664, allocations: 230.8 kB / 0.9437 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.9697, allocations: 1.284 MB / 0.945 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.9712, allocations: 0.7382 MB / 0.9457 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.9713, allocations: 103.7 kB / 0.9458 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004917/0.9762, allocations: 1.672 MB / 0.9474 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.9766, allocations: 282.9 kB / 0.9477 GB, free: 136 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.9777, allocations: 0.6281 MB / 0.9483 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008216/0.9859, allocations: 3.079 MB / 0.9513 GB, free: 13.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.9859, allocations: 4 kB / 0.9513 GB, free: 13.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9859, allocations: 0 / 0.9513 GB, free: 13.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.168e-05/0.986, allocations: 0 / 0.9513 GB, free: 13.7 MB / 0.698 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.004169/0.9902, allocations: 2.095 MB / 0.9534 GB, free: 11.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/0.9902, allocations: 12.03 kB / 0.9534 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.9904, allocations: 177.2 kB / 0.9536 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.9922, allocations: 383.4 kB / 0.9539 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.994, allocations: 0.9112 MB / 0.9548 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.9942, allocations: 252.5 kB / 0.9551 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/0.9946, allocations: 120 kB / 0.9552 GB, free: 9.629 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.9965, allocations: 1.372 MB / 0.9565 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.9965, allocations: 0 / 0.9565 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.9966, allocations: 52 kB / 0.9566 GB, free: 8.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.9966, allocations: 28 kB / 0.9566 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.9982, allocations: 0.9922 MB / 0.9576 GB, free: 7.086 MB / 0.698 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.005476/1.004, allocations: 3.837 MB / 0.9613 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/1.006, allocations: 1.034 MB / 0.9623 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/1.006, allocations: 453.5 kB / 0.9627 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/1.007, allocations: 138.9 kB / 0.9629 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.007, allocations: 43.5 kB / 0.9629 GB, free: 1.469 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 6.231e-06/1.007, allocations: 0 / 0.9629 GB, free: 1.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=108): time 0.005522/1.012, allocations: 2.752 MB / 0.9656 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.012, allocations: 68.16 kB / 0.9657 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/1.013, allocations: 1.016 MB / 0.9667 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/1.013, allocations: 45.7 kB / 0.9667 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.014, allocations: 0.5958 MB / 0.9673 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.014, allocations: 388.6 kB / 0.9677 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/1.014, allocations: 246.8 kB / 0.9679 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.014, allocations: 341.9 kB / 0.9682 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/1.015, allocations: 390.3 kB / 0.9686 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/1.016, allocations: 0.5676 MB / 0.9692 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.017, allocations: 0.9953 MB / 0.9701 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.017, allocations: 0 / 0.9701 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001987/1.019, allocations: 1.348 MB / 0.9714 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/1.019, allocations: 8 kB / 0.9714 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.019, allocations: 7.984 kB / 0.9715 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.02, allocations: 330.7 kB / 0.9718 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/1.021, allocations: 283.6 kB / 0.972 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007825/1.022, allocations: 0.8396 MB / 0.9729 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/1.022, allocations: 63.88 kB / 0.9729 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.022, allocations: 124 kB / 0.973 GB, free: 6.883 MB / 0.7136 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.0006025/1.023, allocations: 265.7 kB / 0.9733 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/1.023, allocations: 159 kB / 0.9734 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/1.026, allocations: 2.481 MB / 0.9759 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.026, allocations: 16 kB / 0.9759 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.026, allocations: 1.125 kB / 0.9759 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.026, allocations: 7.969 kB / 0.9759 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/1.03, allocations: 2.603 MB / 0.9784 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.03, allocations: 4 kB / 0.9784 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/1.031, allocations: 212.2 kB / 0.9786 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007245/1.032, allocations: 295.9 kB / 0.9789 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/1.032, allocations: 52.8 kB / 0.979 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007239/1.032, allocations: 0.8365 MB / 0.9798 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.032, allocations: 8 kB / 0.9798 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/1.034, allocations: 1.42 MB / 0.9812 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/1.035, allocations: 226.9 kB / 0.9814 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.035, allocations: 35.92 kB / 0.9814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/1.035, allocations: 55.95 kB / 0.9815 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/1.036, allocations: 108.7 kB / 0.9816 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.036, allocations: 87.97 kB / 0.9817 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007573/1.036, allocations: 0.7171 MB / 0.9824 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.11e-07/1.036, allocations: 0 / 0.9824 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001451/1.038, allocations: 483.4 kB / 0.9828 GB, free: 12.61 MB / 0.7292 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.003224/1.041, allocations: 2.496 MB / 0.9853 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001889/1.043, allocations: 0.972 MB / 0.9862 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.043, allocations: 4.25 kB / 0.9862 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/1.044, allocations: 0.5086 MB / 0.9867 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.046, allocations: 0.7813 MB / 0.9875 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.06, allocations: 9.864 MB / 0.9971 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/1.061, allocations: 0.5543 MB / 0.9977 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001844/1.062, allocations: 1.058 MB / 0.9987 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/1.063, allocations: 0.6203 MB / 0.9993 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of SimCode: time 2.245e-06/1.063, allocations: 0 / 0.9993 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07946/1.143, allocations: 48.47 MB / 1.047 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.74, allocations: 0 / 1.047 GB, free: 11.39 MB / 0.7917 GB " [Timeout remaining time 648] (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: 15.19203813560307]