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.001566/0.001566, allocations: 81.67 kB / 19.27 MB, free: 0.6055 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.001222/0.001222, allocations: 166 kB / 22.57 MB, free: 1.949 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.179/1.179, allocations: 177.1 MB / 202.9 MB, free: 5.703 MB / 186.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.9598/0.9598, allocations: 116 MB / 375.4 MB, free: 4.18 MB / 346.7 MB " [Timeout remaining time 178] 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 2.655e-06/2.655e-06, allocations: 0 / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.795e-05, allocations: 9.266 kB / 0.5535 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 0.83/0.83, allocations: 205.1 MB / 0.7538 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.8421, allocations: 5.753 MB / 0.7594 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.845, allocations: 65.84 kB / 0.7595 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.8479, allocations: 0.6794 MB / 0.7602 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.8583, allocations: 2.341 MB / 0.7624 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/0.864, allocations: 1.373 MB / 0.7638 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00641/0.8704, allocations: 2.582 MB / 0.7663 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007822/0.8712, allocations: 230.4 kB / 0.7665 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/0.8757, allocations: 1.663 MB / 0.7682 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.8769, allocations: 0.6241 MB / 0.7688 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.8771, allocations: 103.6 kB / 0.7689 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.8831, allocations: 1.68 MB / 0.7705 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.8834, allocations: 282.6 kB / 0.7708 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.8844, allocations: 0.5065 MB / 0.7713 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.8941, allocations: 3.132 MB / 0.7743 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.8941, allocations: 8 kB / 0.7743 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.564e-06/0.8941, allocations: 0 / 0.7743 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001051/0.8942, allocations: 0 / 0.7743 GB, free: 11.41 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.00575/0.9, allocations: 2.048 MB / 0.7763 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001209/0.9001, allocations: 8.031 kB / 0.7763 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.9003, allocations: 173.2 kB / 0.7765 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.9021, allocations: 386.6 kB / 0.7769 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.9041, allocations: 0.9338 MB / 0.7778 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.9044, allocations: 248.5 kB / 0.778 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.9046, allocations: 120 kB / 0.7781 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.9069, allocations: 1.405 MB / 0.7795 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.9069, allocations: 0 / 0.7795 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.907, allocations: 48 kB / 0.7796 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.907, allocations: 31.94 kB / 0.7796 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.9095, allocations: 1 MB / 0.7806 GB, free: 4.785 MB / 0.6198 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.006338/0.9158, allocations: 3.846 MB / 0.7843 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.918, allocations: 1.074 MB / 0.7854 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008342/0.9188, allocations: 459.3 kB / 0.7858 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.9192, allocations: 138.9 kB / 0.7859 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.9192, allocations: 51.48 kB / 0.786 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=105): time 2.915e-06/0.9192, allocations: 0 / 0.786 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=109): time 0.006029/0.9253, allocations: 2.682 MB / 0.7886 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.9253, allocations: 64.41 kB / 0.7887 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.9266, allocations: 0.9739 MB / 0.7896 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/0.9267, allocations: 49.7 kB / 0.7897 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.9271, allocations: 0.5837 MB / 0.7902 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.9274, allocations: 384.6 kB / 0.7906 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.9279, allocations: 246.8 kB / 0.7908 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.928, allocations: 345.9 kB / 0.7912 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.9287, allocations: 382.4 kB / 0.7915 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.9296, allocations: 0.5796 MB / 0.7921 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.9312, allocations: 0.9992 MB / 0.7931 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.9312, allocations: 4 kB / 0.7931 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002424/0.9336, allocations: 1.372 MB / 0.7944 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.9336, allocations: 14.02 kB / 0.7944 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.9337, allocations: 7.938 kB / 0.7944 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.9353, allocations: 324.9 kB / 0.7947 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.9359, allocations: 279.6 kB / 0.795 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.9371, allocations: 0.8274 MB / 0.7958 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.9377, allocations: 55.95 kB / 0.7959 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.938, allocations: 128 kB / 0.796 GB, free: 4.629 MB / 0.6355 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.0006794/0.9387, allocations: 269.5 kB / 0.7963 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.9389, allocations: 143.1 kB / 0.7964 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.9426, allocations: 2.495 MB / 0.7988 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.9426, allocations: 8 kB / 0.7988 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.9426, allocations: 4.5 kB / 0.7988 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.9426, allocations: 11.97 kB / 0.7989 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.9471, allocations: 2.57 MB / 0.8014 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9471, allocations: 4 kB / 0.8014 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007556/0.9478, allocations: 208.6 kB / 0.8016 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009909/0.9488, allocations: 299.4 kB / 0.8018 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.949, allocations: 47.97 kB / 0.8019 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007896/0.9498, allocations: 0.836 MB / 0.8027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/0.9498, allocations: 11.92 kB / 0.8027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.9518, allocations: 1.393 MB / 0.8041 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.9523, allocations: 230.9 kB / 0.8043 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.9524, allocations: 24 kB / 0.8043 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.9529, allocations: 63.94 kB / 0.8044 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.953, allocations: 108.7 kB / 0.8045 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.9532, allocations: 84.86 kB / 0.8046 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008176/0.954, allocations: 0.6959 MB / 0.8053 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/0.954, allocations: 0 / 0.8053 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001824/0.9558, allocations: 487.3 kB / 0.8057 GB, free: 10.44 MB / 0.6511 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.003407/0.9592, allocations: 2.476 MB / 0.8081 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.9616, allocations: 0.9798 MB / 0.8091 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9616, allocations: 3.938 kB / 0.8091 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.9624, allocations: 0.5133 MB / 0.8096 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.9649, allocations: 0.7433 MB / 0.8103 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.9805, allocations: 9.746 MB / 0.8198 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.981, allocations: 0.5416 MB / 0.8204 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002155/0.9831, allocations: 1.06 MB / 0.8214 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/0.9841, allocations: 0.5979 MB / 0.822 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of SimCode: time 3.987e-06/0.9841, allocations: 0 / 0.822 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.086, allocations: 47.63 MB / 0.8685 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.08, allocations: 0 / 0.8685 GB, free: 10.32 MB / 0.7136 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 15.923058917745948] Failed to read output from testmodel.py, exit status != 0: 12.19840887375176 12.207230108 11.310537481 Calling exit ...