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.001112/0.001112, 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.001036/0.001036, allocations: 170.3 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.318/1.318, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 1.118/1.118, allocations: 118.6 MB / 377.8 MB, free: 1.582 MB / 346.7 MB " [Timeout remaining time 178] 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 3.246e-06/3.246e-06, allocations: 0 / 0.5572 GB, free: 9.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.073e-05/5.397e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.047 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 1.039/1.039, allocations: 205.2 MB / 0.7576 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01802/1.057, allocations: 5.774 MB / 0.7632 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/1.061, allocations: 73.94 kB / 0.7633 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004061/1.065, allocations: 0.6875 MB / 0.7639 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/1.077, allocations: 2.361 MB / 0.7663 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006633/1.083, allocations: 1.366 MB / 0.7676 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006793/1.09, allocations: 2.596 MB / 0.7701 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/1.091, allocations: 236.9 kB / 0.7703 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005825/1.097, allocations: 1.671 MB / 0.772 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/1.099, allocations: 0.6191 MB / 0.7726 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003549/1.099, allocations: 104 kB / 0.7727 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/1.106, allocations: 1.68 MB / 0.7743 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/1.107, allocations: 286.5 kB / 0.7746 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/1.108, allocations: 0.5104 MB / 0.7751 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/1.119, allocations: 3.163 MB / 0.7782 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/1.119, allocations: 4 kB / 0.7782 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.659e-06/1.119, allocations: 0 / 0.7782 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001406/1.119, allocations: 0 / 0.7782 GB, free: 5.094 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.007337/1.127, allocations: 2.08 MB / 0.7802 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.485e-05/1.127, allocations: 8.031 kB / 0.7802 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/1.127, allocations: 177.3 kB / 0.7804 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/1.129, allocations: 378.6 kB / 0.7808 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/1.131, allocations: 0.9194 MB / 0.7817 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/1.132, allocations: 252.5 kB / 0.7819 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/1.132, allocations: 116 kB / 0.782 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/1.134, allocations: 1.376 MB / 0.7833 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.134, allocations: 7.875 kB / 0.7834 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/1.135, allocations: 48 kB / 0.7834 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.135, allocations: 28 kB / 0.7834 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/1.137, allocations: 0.9883 MB / 0.7844 GB, free: 14.5 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.006787/1.143, allocations: 3.828 MB / 0.7881 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/1.146, allocations: 1.034 MB / 0.7891 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/1.146, allocations: 444.4 kB / 0.7896 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004259/1.147, allocations: 146.6 kB / 0.7897 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.147, allocations: 48.42 kB / 0.7898 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 3.467e-06/1.147, allocations: 0 / 0.7898 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=108): time 0.006867/1.154, allocations: 2.748 MB / 0.7924 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/1.154, allocations: 68.41 kB / 0.7925 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/1.156, allocations: 1.016 MB / 0.7935 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.156, allocations: 41.7 kB / 0.7935 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/1.156, allocations: 0.5998 MB / 0.7941 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/1.157, allocations: 388.6 kB / 0.7945 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/1.157, allocations: 246.8 kB / 0.7947 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.157, allocations: 353.9 kB / 0.7951 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008622/1.158, allocations: 378.5 kB / 0.7954 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/1.159, allocations: 0.5718 MB / 0.796 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/1.16, allocations: 0.9875 MB / 0.7969 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.16, allocations: 4 kB / 0.7969 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002665/1.163, allocations: 1.341 MB / 0.7983 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.163, allocations: 8 kB / 0.7983 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.163, allocations: 7.938 kB / 0.7983 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.164, allocations: 334.5 kB / 0.7986 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/1.165, allocations: 275.6 kB / 0.7989 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/1.166, allocations: 0.842 MB / 0.7997 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/1.167, allocations: 55.95 kB / 0.7997 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/1.167, allocations: 124 kB / 0.7998 GB, free: 14.34 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.0008092/1.168, allocations: 273.5 kB / 0.8001 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/1.168, allocations: 147.1 kB / 0.8003 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/1.173, allocations: 2.49 MB / 0.8027 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.173, allocations: 12 kB / 0.8027 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/1.173, allocations: 7.938 kB / 0.8027 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.173, allocations: 3.984 kB / 0.8027 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/1.177, allocations: 2.6 MB / 0.8052 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.178, allocations: 7.984 kB / 0.8053 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/1.178, allocations: 207.7 kB / 0.8054 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/1.179, allocations: 299.8 kB / 0.8057 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/1.179, allocations: 43.98 kB / 0.8058 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/1.18, allocations: 0.8438 MB / 0.8066 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.18, allocations: 4 kB / 0.8066 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/1.183, allocations: 1.409 MB / 0.808 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/1.184, allocations: 238.8 kB / 0.8082 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/1.184, allocations: 24 kB / 0.8082 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/1.184, allocations: 63.94 kB / 0.8083 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.184, allocations: 100.7 kB / 0.8084 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.185, allocations: 95.91 kB / 0.8085 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001078/1.186, allocations: 0.721 MB / 0.8092 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.092e-06/1.186, allocations: 0 / 0.8092 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001859/1.188, allocations: 483.4 kB / 0.8096 GB, free: 4.051 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.00395/1.192, allocations: 2.492 MB / 0.8121 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002364/1.194, allocations: 0.9718 MB / 0.813 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.194, allocations: 0.75 kB / 0.813 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009352/1.195, allocations: 0.5206 MB / 0.8135 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/1.198, allocations: 0.7858 MB / 0.8143 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.217, allocations: 9.879 MB / 0.824 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/1.217, allocations: 0.5582 MB / 0.8245 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002618/1.22, allocations: 1.059 MB / 0.8255 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/1.221, allocations: 0.6213 MB / 0.8261 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of SimCode: time 5.811e-06/1.221, allocations: 3.938 kB / 0.8261 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.334, allocations: 48.51 MB / 0.8735 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.99, allocations: 11.19 kB / 0.8735 GB, free: 2.77 MB / 0.7136 GB " [Timeout remaining time 647] (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.38850808799907]