Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.001467/0.001467, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001522/0.001522, allocations: 213.3 kB / 22.25 MB, free: 5.258 MB / 14.72 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8324/0.8324, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.16 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1588, allocations: 85.91 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001635/0.1605, allocations: 0.517 MB / 0.7029 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.1606, allocations: 44.22 kB / 0.7029 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.1607, allocations: 0 / 0.7029 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.1607, allocations: 4 kB / 0.7029 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.1608, allocations: 3.938 kB / 0.7029 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.748e-05/0.1609, allocations: 4 kB / 0.7029 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.1609, allocations: 19.91 kB / 0.7029 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.161, allocations: 3.984 kB / 0.7029 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.161, allocations: 4 kB / 0.7029 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.1611, allocations: 11.92 kB / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1611, allocations: 0 / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.1611, allocations: 4 kB / 0.703 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.1611, allocations: 4 kB / 0.703 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1612, allocations: 11.92 kB / 0.703 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.956e-05/0.1612, allocations: 12.2 kB / 0.703 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1612, allocations: 7.938 kB / 0.703 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1612, allocations: 0 / 0.703 GB, free: 432 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.1612, allocations: 0 / 0.703 GB, free: 432 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004251/0.1617, allocations: 254.3 kB / 0.7032 GB, free: 148 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1617, allocations: 12.03 kB / 0.7033 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1617, allocations: 30.75 kB / 0.7033 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1618, allocations: 4.891 kB / 0.7033 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.162, allocations: 118.5 kB / 0.7034 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.162, allocations: 4.375 kB / 0.7034 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.162, allocations: 4.125 kB / 0.7034 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.1621, allocations: 37.69 kB / 0.7034 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1621, allocations: 0 / 0.7034 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.1621, allocations: 0 / 0.7034 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1621, allocations: 3.938 kB / 0.7034 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.1621, allocations: 7.984 kB / 0.7035 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1623, allocations: 120.8 kB / 0.7036 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.1623, allocations: 22.56 kB / 0.7036 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.1623, allocations: 12.86 kB / 0.7036 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1623, allocations: 4 kB / 0.7036 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1624, allocations: 30.56 kB / 0.7036 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1624, allocations: 0 / 0.7036 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.1625, allocations: 45.62 kB / 0.7037 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1626, allocations: 51.41 kB / 0.7037 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.1627, allocations: 105.8 kB / 0.7038 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1627, allocations: 29.7 kB / 0.7039 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.1627, allocations: 84.14 kB / 0.7039 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1627, allocations: 7.938 kB / 0.7039 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1628, allocations: 17.72 kB / 0.704 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1629, allocations: 315 kB / 0.7043 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.1629, allocations: 4 kB / 0.7043 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.163, allocations: 17.7 kB / 0.7043 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.163, allocations: 25.91 kB / 0.7043 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.163, allocations: 0 / 0.7043 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.661e-05/0.1631, allocations: 53.56 kB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1631, allocations: 7.938 kB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1631, allocations: 0 / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1631, allocations: 12.11 kB / 0.7044 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.1632, allocations: 0 / 0.7044 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1632, allocations: 4 kB / 0.7044 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.1632, allocations: 0 / 0.7044 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1632, allocations: 0 / 0.7044 GB, free: 14.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.1633, allocations: 113.8 kB / 0.7045 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1633, allocations: 11.83 kB / 0.7045 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1634, allocations: 52.83 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1634, allocations: 0 / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1634, allocations: 0 / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1634, allocations: 7.969 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1635, allocations: 132.7 kB / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1635, allocations: 0 / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.1636, allocations: 0 / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1636, allocations: 4 kB / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.1636, allocations: 0 / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1636, allocations: 0 / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1636, allocations: 0 / 0.7047 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1637, allocations: 81.08 kB / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-06/0.1637, allocations: 0 / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1637, allocations: 96 / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.1638, allocations: 4 kB / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1638, allocations: 4 kB / 0.7048 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1638, allocations: 3.984 kB / 0.7048 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.1638, allocations: 87.28 kB / 0.7049 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1638, allocations: 0 / 0.7049 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001737/0.164, allocations: 3.938 kB / 0.7049 GB, free: 14.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004261/0.1644, allocations: 0.6124 MB / 0.7055 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.837e-05/0.1645, allocations: 20.08 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1645, allocations: 4 kB / 0.7055 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.1645, allocations: 8 kB / 0.7055 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1647, allocations: 0 / 0.7055 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1657, allocations: 1.139 MB / 0.7066 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.197e-05/0.1658, allocations: 75.08 kB / 0.7067 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.664e-05/0.1658, allocations: 0 / 0.7067 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1658, allocations: 19.42 kB / 0.7067 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1658, allocations: 0 / 0.7067 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.1929, allocations: 1.705 MB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.72, allocations: 6.297 kB / 0.7084 GB, free: 10.63 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.158430431038141] Failed to read output from testmodel.py, exit status != 0: 10.827971179038286 10.85549543 10.689455315 Calling exit ...