Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0008991/0.0008991, allocations: 101.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.0008637/0.0008637, allocations: 216 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 0.9756/0.9756, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7254/0.7254, allocations: 150.8 MB / 463.2 MB, free: 6.445 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 79.88 kB / 0.6392 GB, free: 32.65 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1492, allocations: 88.08 MB / 0.7252 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.5208/0.67, allocations: 205.4 MB / 0.9258 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.008383/0.6784, allocations: 5.748 MB / 0.9314 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.68, allocations: 70.12 kB / 0.9315 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.6815, allocations: 0.6744 MB / 0.9321 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.6866, allocations: 2.268 MB / 0.9344 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.6894, allocations: 1.359 MB / 0.9357 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.6912, allocations: 2.488 MB / 0.9381 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.6916, allocations: 233.2 kB / 0.9383 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.693, allocations: 1.279 MB / 0.9396 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.6936, allocations: 0.7324 MB / 0.9403 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.6937, allocations: 104.4 kB / 0.9404 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.6963, allocations: 1.667 MB / 0.942 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.6965, allocations: 276.5 kB / 0.9423 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.6969, allocations: 0.6206 MB / 0.9429 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.7001, allocations: 3.051 MB / 0.9459 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7001, allocations: 3.938 kB / 0.9459 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7001, allocations: 0 / 0.9459 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.7001, allocations: 0 / 0.9459 GB, free: 4.41 MB / 0.6823 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.002448/0.7025, allocations: 2.06 MB / 0.9479 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.7026, allocations: 14.72 kB / 0.9479 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.7027, allocations: 174.8 kB / 0.9481 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.7041, allocations: 368.1 kB / 0.9484 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.7051, allocations: 0.8826 MB / 0.9493 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.7053, allocations: 251.6 kB / 0.9495 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.7054, allocations: 114.5 kB / 0.9496 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.7069, allocations: 1.408 MB / 0.951 GB, free: 432 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.707, allocations: 3.938 kB / 0.951 GB, free: 428 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.707, allocations: 52 kB / 0.9511 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.7071, allocations: 31.94 kB / 0.9511 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.7084, allocations: 0.9961 MB / 0.9521 GB, free: 15.33 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.00403/0.7124, allocations: 3.821 MB / 0.9558 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.714, allocations: 1.061 MB / 0.9568 GB, free: 10.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.7146, allocations: 470.2 kB / 0.9573 GB, free: 9.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.7149, allocations: 138.9 kB / 0.9574 GB, free: 9.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.7149, allocations: 43.56 kB / 0.9575 GB, free: 9.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 2.505e-06/0.7149, allocations: 0 / 0.9575 GB, free: 9.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=109): time 0.00436/0.7193, allocations: 2.686 MB / 0.9601 GB, free: 6.992 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.7193, allocations: 64.41 kB / 0.9601 GB, free: 6.918 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.7201, allocations: 0.9739 MB / 0.9611 GB, free: 5.934 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.7202, allocations: 41.7 kB / 0.9611 GB, free: 5.887 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005805/0.7208, allocations: 0.5799 MB / 0.9617 GB, free: 5.301 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.721, allocations: 392.6 kB / 0.9621 GB, free: 4.914 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.7212, allocations: 248.8 kB / 0.9623 GB, free: 4.664 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7214, allocations: 353.9 kB / 0.9626 GB, free: 4.312 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/0.722, allocations: 386.4 kB / 0.963 GB, free: 3.938 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.7232, allocations: 0.5795 MB / 0.9636 GB, free: 3.281 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.7247, allocations: 1.003 MB / 0.9646 GB, free: 2.211 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.7247, allocations: 4 kB / 0.9646 GB, free: 2.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001861/0.7266, allocations: 1.364 MB / 0.9659 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.7266, allocations: 4 kB / 0.9659 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7266, allocations: 8 kB / 0.9659 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/0.7275, allocations: 336.1 kB / 0.9662 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.728, allocations: 275.6 kB / 0.9665 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006964/0.7287, allocations: 0.8334 MB / 0.9673 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.7292, allocations: 63.89 kB / 0.9674 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.7293, allocations: 124 kB / 0.9675 GB, free: 15.18 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 (115): * Single equations (assignments): 114 * 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.0003718/0.7297, allocations: 266.2 kB / 0.9677 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.7298, allocations: 147.2 kB / 0.9679 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.7327, allocations: 2.495 MB / 0.9703 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7327, allocations: 8 kB / 0.9703 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.7327, allocations: 7.938 kB / 0.9703 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.7327, allocations: 11.97 kB / 0.9703 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.736, allocations: 2.565 MB / 0.9728 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.736, allocations: 4 kB / 0.9729 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.7364, allocations: 212.2 kB / 0.9731 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/0.7371, allocations: 292.9 kB / 0.9733 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.7371, allocations: 51.92 kB / 0.9734 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006085/0.7377, allocations: 0.8373 MB / 0.9742 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7377, allocations: 7.938 kB / 0.9742 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.7393, allocations: 1.393 MB / 0.9756 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.7397, allocations: 222.9 kB / 0.9758 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.7398, allocations: 32 kB / 0.9758 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.7402, allocations: 59.88 kB / 0.9759 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.7403, allocations: 104.7 kB / 0.976 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.7404, allocations: 95.98 kB / 0.9761 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005975/0.741, allocations: 0.692 MB / 0.9767 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.741, allocations: 0 / 0.9767 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001061/0.742, allocations: 487.3 kB / 0.9772 GB, free: 4.996 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (88): * Single equations (assignments): 87 * 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.002513/0.7445, allocations: 2.474 MB / 0.9796 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.746, allocations: 0.976 MB / 0.9806 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.746, allocations: 0 / 0.9806 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.7468, allocations: 0.5164 MB / 0.9811 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.7485, allocations: 0.7476 MB / 0.9818 GB, free: 248 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.7587, allocations: 9.712 MB / 0.9913 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.7591, allocations: 0.5416 MB / 0.9918 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001449/0.7605, allocations: 1.055 MB / 0.9928 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.7612, allocations: 0.6007 MB / 0.9934 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/0.7612, allocations: 3.938 kB / 0.9934 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.8166, allocations: 47.53 MB / 1.04 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.346/10.16, allocations: 4.062 kB / 1.04 GB, free: 4.949 MB / 0.7761 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_AirCycle_Step7BootStrapCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.06116927601397] Failed to read output from testmodel.py, exit status != 0: 10.282339825294912 10.290720585 9.588525547 Calling exit ...