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.001127/0.001127, allocations: 80.25 kB / 19.27 MB, free: 0.5859 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.001489/0.001489, allocations: 170 kB / 22.58 MB, free: 1.922 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.195/1.195, allocations: 177.2 MB / 202.9 MB, free: 5.668 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 1.027/1.027, allocations: 116 MB / 375.4 MB, free: 4.168 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.995e-06/2.995e-06, allocations: 0 / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.157e-05/4.456e-05, allocations: 6.312 kB / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.AirCycle.Step7BootStrapCycle): time 1.034/1.034, allocations: 205.1 MB / 0.7538 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0141/1.048, allocations: 5.747 MB / 0.7594 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/1.053, allocations: 70.16 kB / 0.7595 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004439/1.057, allocations: 0.6837 MB / 0.7602 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.07, allocations: 2.336 MB / 0.7624 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007374/1.077, allocations: 1.373 MB / 0.7638 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00732/1.084, allocations: 2.582 MB / 0.7663 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/1.086, allocations: 233.8 kB / 0.7665 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007466/1.093, allocations: 1.664 MB / 0.7682 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/1.096, allocations: 0.6163 MB / 0.7688 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005625/1.096, allocations: 107.6 kB / 0.7689 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007997/1.104, allocations: 1.681 MB / 0.7705 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00072/1.105, allocations: 286.6 kB / 0.7708 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/1.107, allocations: 0.5065 MB / 0.7713 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/1.121, allocations: 3.135 MB / 0.7743 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.002e-05/1.121, allocations: 0 / 0.7743 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.529e-06/1.121, allocations: 0 / 0.7743 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001579/1.121, allocations: 0 / 0.7743 GB, free: 11.4 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.007206/1.128, allocations: 2.044 MB / 0.7763 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001297/1.129, allocations: 8.031 kB / 0.7763 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003386/1.129, allocations: 181.2 kB / 0.7765 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/1.131, allocations: 382.6 kB / 0.7769 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/1.134, allocations: 0.942 MB / 0.7778 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/1.134, allocations: 248.5 kB / 0.778 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/1.134, allocations: 112 kB / 0.7781 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/1.138, allocations: 1.408 MB / 0.7795 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/1.138, allocations: 4 kB / 0.7795 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.138, allocations: 44 kB / 0.7796 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/1.138, allocations: 35.94 kB / 0.7796 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/1.14, allocations: 0.9922 MB / 0.7806 GB, free: 4.777 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.007776/1.148, allocations: 3.855 MB / 0.7843 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/1.15, allocations: 1.066 MB / 0.7854 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/1.151, allocations: 464 kB / 0.7858 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/1.152, allocations: 142.9 kB / 0.7859 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.925e-05/1.152, allocations: 43.56 kB / 0.786 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=105): time 9.398e-06/1.152, allocations: 0 / 0.786 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=109): time 0.007278/1.159, allocations: 2.69 MB / 0.7886 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.159, allocations: 60.41 kB / 0.7887 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.161, allocations: 0.9778 MB / 0.7896 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/1.161, allocations: 49.64 kB / 0.7897 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/1.161, allocations: 0.5837 MB / 0.7902 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/1.162, allocations: 384.6 kB / 0.7906 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/1.162, allocations: 246.8 kB / 0.7908 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.162, allocations: 341.9 kB / 0.7912 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/1.163, allocations: 394.4 kB / 0.7915 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.164, allocations: 0.5757 MB / 0.7921 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.166, allocations: 1.003 MB / 0.7931 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.166, allocations: 4 kB / 0.7931 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003265/1.169, allocations: 1.364 MB / 0.7944 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/1.169, allocations: 8 kB / 0.7944 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.169, allocations: 8.312 kB / 0.7944 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/1.171, allocations: 333.7 kB / 0.7948 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.171, allocations: 275.6 kB / 0.795 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/1.173, allocations: 0.8273 MB / 0.7958 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009677/1.174, allocations: 59.95 kB / 0.7959 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.174, allocations: 128 kB / 0.796 GB, free: 4.605 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.0008717/1.175, allocations: 269.5 kB / 0.7963 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/1.175, allocations: 143.1 kB / 0.7964 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/1.179, allocations: 2.502 MB / 0.7988 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/1.179, allocations: 12 kB / 0.7989 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.179, allocations: 4.812 kB / 0.7989 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.179, allocations: 3.984 kB / 0.7989 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/1.185, allocations: 2.57 MB / 0.8014 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.185, allocations: 8 kB / 0.8014 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/1.186, allocations: 207.7 kB / 0.8016 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/1.187, allocations: 292 kB / 0.8019 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/1.187, allocations: 51.97 kB / 0.8019 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/1.188, allocations: 0.8356 MB / 0.8027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/1.188, allocations: 7.938 kB / 0.8027 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/1.191, allocations: 1.393 MB / 0.8041 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/1.192, allocations: 226.9 kB / 0.8043 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/1.192, allocations: 27.92 kB / 0.8043 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/1.192, allocations: 63.95 kB / 0.8044 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/1.193, allocations: 104.7 kB / 0.8045 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.193, allocations: 90.41 kB / 0.8046 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001051/1.194, allocations: 0.692 MB / 0.8053 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/1.194, allocations: 0 / 0.8053 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002401/1.196, allocations: 487.3 kB / 0.8057 GB, free: 10.43 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.00506/1.201, allocations: 2.481 MB / 0.8081 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002551/1.204, allocations: 0.9913 MB / 0.8091 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.204, allocations: 0 / 0.8091 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.205, allocations: 0.5133 MB / 0.8096 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/1.208, allocations: 0.7412 MB / 0.8103 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.228, allocations: 9.733 MB / 0.8198 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/1.229, allocations: 0.5455 MB / 0.8204 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002854/1.231, allocations: 1.055 MB / 0.8214 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.233, allocations: 0.6057 MB / 0.822 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of SimCode: time 2.935e-06/1.233, allocations: 0 / 0.822 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/1.349, allocations: 47.64 MB / 0.8685 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.17, allocations: 7.328 kB / 0.8685 GB, free: 10.28 MB / 0.7136 GB " [Timeout remaining time 647] (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: 17.216895699501038] Failed to read output from testmodel.py, exit status != 0: 13.285451083444059 13.298196614 12.17459761 Calling exit ...