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.0008234/0.0008234, allocations: 88.72 kB / 19.44 MB, free: 344 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.0008547/0.0008547, allocations: 157.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.9073/0.9073, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.6478/0.6478, allocations: 118.7 MB / 378.2 MB, free: 1.465 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.142e-06/1.142e-06, allocations: 0 / 482.4 MB, free: 8.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.754e-05, allocations: 2.312 kB / 482.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.3766/0.3766, allocations: 205.2 MB / 0.6715 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006511/0.3831, allocations: 5.762 MB / 0.6771 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.3843, allocations: 78.27 kB / 0.6772 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.3858, allocations: 0.686 MB / 0.6778 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.3908, allocations: 2.36 MB / 0.6801 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.3936, allocations: 1.372 MB / 0.6815 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.3965, allocations: 2.592 MB / 0.684 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.3973, allocations: 230.8 kB / 0.6842 GB, free: 24.97 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.4, allocations: 1.682 MB / 0.6859 GB, free: 24.8 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009698/0.401, allocations: 0.6162 MB / 0.6865 GB, free: 24.71 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.4012, allocations: 105.4 kB / 0.6866 GB, free: 24.71 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.4049, allocations: 1.676 MB / 0.6882 GB, free: 24.62 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.4052, allocations: 285.2 kB / 0.6885 GB, free: 24.54 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.4058, allocations: 0.5138 MB / 0.689 GB, free: 24.47 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.4101, allocations: 3.157 MB / 0.6921 GB, free: 24.16 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4101, allocations: 3.938 kB / 0.6921 GB, free: 24.16 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4101, allocations: 4.031 kB / 0.6921 GB, free: 24.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.567e-05/0.4101, allocations: 2.625 kB / 0.6921 GB, free: 24.16 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.002967/0.4131, allocations: 2.086 MB / 0.6941 GB, free: 23.17 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4131, allocations: 10.75 kB / 0.6941 GB, free: 23.17 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.4133, allocations: 170.9 kB / 0.6943 GB, free: 23.13 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.415, allocations: 0.5713 MB / 0.6949 GB, free: 22.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4162, allocations: 0.9917 MB / 0.6958 GB, free: 22.63 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.4163, allocations: 247.5 kB / 0.6961 GB, free: 22.44 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.4165, allocations: 118.7 kB / 0.6962 GB, free: 22.43 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.418, allocations: 1.373 MB / 0.6975 GB, free: 22.14 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.418, allocations: 0.9688 kB / 0.6975 GB, free: 22.14 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.4181, allocations: 48.34 kB / 0.6976 GB, free: 22.14 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4181, allocations: 28.19 kB / 0.6976 GB, free: 22.14 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.4194, allocations: 0.9913 MB / 0.6986 GB, free: 22.12 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.004189/0.4236, allocations: 3.864 MB / 0.7023 GB, free: 20.52 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.4252, allocations: 1.043 MB / 0.7034 GB, free: 20.48 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.4257, allocations: 454.8 kB / 0.7038 GB, free: 20.47 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.426, allocations: 138.6 kB / 0.7039 GB, free: 20.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.426, allocations: 46.41 kB / 0.704 GB, free: 20.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=104): time 3.576e-06/0.426, allocations: 0.875 kB / 0.704 GB, free: 20.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=108): time 0.004542/0.4306, allocations: 2.785 MB / 0.7067 GB, free: 20.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4306, allocations: 63.06 kB / 0.7067 GB, free: 19.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.4314, allocations: 1.021 MB / 0.7077 GB, free: 19.82 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.4315, allocations: 41.39 kB / 0.7078 GB, free: 19.79 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.4317, allocations: 0.6009 MB / 0.7084 GB, free: 19.56 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.4319, allocations: 382.3 kB / 0.7087 GB, free: 19.31 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.4321, allocations: 244.6 kB / 0.709 GB, free: 19.28 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.4322, allocations: 348.7 kB / 0.7093 GB, free: 18.97 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.4328, allocations: 382.6 kB / 0.7097 GB, free: 18.97 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.4335, allocations: 0.5721 MB / 0.7102 GB, free: 18.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.4347, allocations: 0.9933 MB / 0.7112 GB, free: 18.58 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4347, allocations: 3.469 kB / 0.7112 GB, free: 18.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001798/0.4365, allocations: 1.385 MB / 0.7125 GB, free: 18.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4365, allocations: 8.062 kB / 0.7126 GB, free: 18.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4365, allocations: 7.062 kB / 0.7126 GB, free: 18.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/0.4373, allocations: 328.6 kB / 0.7129 GB, free: 18.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.4379, allocations: 278.2 kB / 0.7131 GB, free: 18.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006906/0.4386, allocations: 0.8445 MB / 0.714 GB, free: 17.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.4391, allocations: 60.61 kB / 0.714 GB, free: 17.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.4392, allocations: 122.9 kB / 0.7141 GB, free: 17.89 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.0003901/0.4396, allocations: 270.9 kB / 0.7144 GB, free: 17.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.4398, allocations: 186.7 kB / 0.7146 GB, free: 17.69 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.4425, allocations: 2.488 MB / 0.717 GB, free: 17.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4426, allocations: 10.61 kB / 0.717 GB, free: 17.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4426, allocations: 3.938 kB / 0.717 GB, free: 17.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4426, allocations: 9.656 kB / 0.717 GB, free: 17.46 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.4458, allocations: 2.606 MB / 0.7196 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4458, allocations: 3.25 kB / 0.7196 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.4462, allocations: 214.6 kB / 0.7198 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/0.4469, allocations: 295.4 kB / 0.7201 GB, free: 16.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.4469, allocations: 46.34 kB / 0.7201 GB, free: 16.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006234/0.4476, allocations: 0.8415 MB / 0.7209 GB, free: 16.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4476, allocations: 9.906 kB / 0.7209 GB, free: 16.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.4493, allocations: 1.445 MB / 0.7223 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.4497, allocations: 234 kB / 0.7226 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4498, allocations: 19.75 kB / 0.7226 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.4502, allocations: 58.64 kB / 0.7226 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.4504, allocations: 106.1 kB / 0.7227 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.4505, allocations: 92.45 kB / 0.7228 GB, free: 15.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006166/0.4511, allocations: 0.7215 MB / 0.7235 GB, free: 15.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4511, allocations: 0 / 0.7235 GB, free: 15.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001023/0.4521, allocations: 485.6 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.002813/0.4549, allocations: 2.522 MB / 0.7265 GB, free: 13.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.4564, allocations: 0.9862 MB / 0.7274 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4564, allocations: 2.562 kB / 0.7274 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.4571, allocations: 0.5099 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.001986/0.4591, allocations: 0.8378 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.01127/0.4704, allocations: 9.976 MB / 0.7385 GB, free: 7.652 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4708, allocations: 0.5587 MB / 0.739 GB, free: 7.348 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001613/0.4724, allocations: 1.061 MB / 0.7401 GB, free: 6.852 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/0.4731, allocations: 0.6183 MB / 0.7407 GB, free: 6.375 MB / 0.573 GB Notification: Performance of SimCode: time 1.973e-06/0.4731, allocations: 4 kB / 0.7407 GB, free: 6.371 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/0.5342, allocations: 49.05 MB / 0.7886 GB, free: 7.242 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.295/9.829, allocations: 7.938 kB / 0.7886 GB, free: 7.234 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.383737179043237]