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.0008208/0.0008208, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008498/0.0008498, allocations: 221.2 kB / 22.25 MB, free: 3.566 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.116/1.116, allocations: 230.6 MB / 256 MB, free: 9.617 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.807/0.807, allocations: 154.1 MB / 466.6 MB, free: 3.301 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.001882/0.001882, allocations: 83.88 kB / 0.6438 GB, free: 28.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.187, allocations: 88.78 MB / 0.7305 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.6467/0.8337, allocations: 205.5 MB / 0.9311 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007774/0.8414, allocations: 5.786 MB / 0.9368 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.8433, allocations: 76.38 kB / 0.9369 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.8453, allocations: 0.6664 MB / 0.9375 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.852, allocations: 2.286 MB / 0.9398 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.8559, allocations: 1.363 MB / 0.9411 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.8594, allocations: 2.494 MB / 0.9435 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005447/0.86, allocations: 230 kB / 0.9437 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.8625, allocations: 1.289 MB / 0.945 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008568/0.8633, allocations: 0.7401 MB / 0.9457 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.8635, allocations: 104.4 kB / 0.9458 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.867, allocations: 1.662 MB / 0.9474 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.8673, allocations: 290.8 kB / 0.9477 GB, free: 248 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006161/0.8679, allocations: 0.6214 MB / 0.9483 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.8741, allocations: 3.085 MB / 0.9513 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8742, allocations: 0 / 0.9513 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8742, allocations: 0 / 0.9513 GB, free: 13.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.534e-05/0.8742, allocations: 3.938 kB / 0.9513 GB, free: 13.71 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.003383/0.8776, allocations: 2.107 MB / 0.9534 GB, free: 11.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8776, allocations: 8.031 kB / 0.9534 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.8778, allocations: 176.9 kB / 0.9536 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.8793, allocations: 374.6 kB / 0.9539 GB, free: 11.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.8807, allocations: 0.919 MB / 0.9548 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.8809, allocations: 260.4 kB / 0.9551 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.881, allocations: 112 kB / 0.9552 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.8827, allocations: 1.372 MB / 0.9565 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8827, allocations: 0 / 0.9565 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.8828, allocations: 48 kB / 0.9566 GB, free: 8.125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.8828, allocations: 31.94 kB / 0.9566 GB, free: 8.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.8842, allocations: 0.9844 MB / 0.9576 GB, free: 7.102 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.004635/0.8889, allocations: 3.842 MB / 0.9613 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.8905, allocations: 1.042 MB / 0.9623 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.8911, allocations: 445.5 kB / 0.9628 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003454/0.8914, allocations: 134.9 kB / 0.9629 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.8914, allocations: 43.56 kB / 0.9629 GB, free: 1.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 5.139e-06/0.8914, allocations: 0 / 0.9629 GB, free: 1.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=108): time 0.005046/0.8965, allocations: 2.752 MB / 0.9656 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.8965, allocations: 68.16 kB / 0.9657 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.8975, allocations: 1.016 MB / 0.9667 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.8976, allocations: 49.64 kB / 0.9667 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.898, allocations: 0.5958 MB / 0.9673 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.8982, allocations: 392.6 kB / 0.9677 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.8984, allocations: 242.8 kB / 0.9679 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.8985, allocations: 349.9 kB / 0.9682 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.8991, allocations: 378.4 kB / 0.9686 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.8998, allocations: 0.5641 MB / 0.9692 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.9011, allocations: 0.9992 MB / 0.9701 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9011, allocations: 3.312 kB / 0.9701 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00187/0.9029, allocations: 1.345 MB / 0.9714 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.903, allocations: 8 kB / 0.9715 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.903, allocations: 4.375 kB / 0.9715 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009091/0.9039, allocations: 334.4 kB / 0.9718 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.9045, allocations: 283.6 kB / 0.972 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008607/0.9053, allocations: 0.8307 MB / 0.9729 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/0.906, allocations: 63.95 kB / 0.9729 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.9061, allocations: 128 kB / 0.973 GB, free: 6.898 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.000486/0.9066, allocations: 261.7 kB / 0.9733 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.9068, allocations: 155 kB / 0.9734 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.9097, allocations: 2.491 MB / 0.9759 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.9097, allocations: 12 kB / 0.9759 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.9097, allocations: 0 / 0.9759 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.9097, allocations: 3.984 kB / 0.9759 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.9135, allocations: 2.611 MB / 0.9784 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9135, allocations: 5.188 kB / 0.9784 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.9139, allocations: 216.3 kB / 0.9786 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007774/0.9147, allocations: 293.5 kB / 0.9789 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.9148, allocations: 47.97 kB / 0.979 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009086/0.9157, allocations: 0.8321 MB / 0.9798 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.9157, allocations: 7.938 kB / 0.9798 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.9176, allocations: 1.417 MB / 0.9812 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/0.9182, allocations: 230.9 kB / 0.9814 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.9183, allocations: 35.92 kB / 0.9814 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.9187, allocations: 55.89 kB / 0.9815 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.9189, allocations: 108.7 kB / 0.9816 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.919, allocations: 87.98 kB / 0.9817 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007568/0.9197, allocations: 0.7249 MB / 0.9824 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/0.9197, allocations: 0 / 0.9824 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001302/0.921, 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.00294/0.924, allocations: 2.491 MB / 0.9853 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.9258, allocations: 0.9833 MB / 0.9862 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9258, allocations: 0 / 0.9862 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009609/0.9268, allocations: 0.5093 MB / 0.9867 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.9291, allocations: 0.7743 MB / 0.9875 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.9414, allocations: 9.862 MB / 0.9971 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.9418, allocations: 0.5543 MB / 0.9977 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001816/0.9436, allocations: 1.07 MB / 0.9987 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/0.9443, allocations: 0.6164 MB / 0.9993 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/0.9443, allocations: 0 / 0.9993 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07114/1.015, allocations: 48.47 MB / 1.047 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.862/10.88, allocations: 8 kB / 1.047 GB, free: 11.4 MB / 0.7917 GB " [Timeout remaining time 649] (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: 14.33878608699888]