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.001793/0.001793, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002049/0.002049, allocations: 214.5 kB / 23.03 MB, free: 4.949 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.39/1.39, allocations: 230.6 MB / 256.8 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.8149/0.8149, allocations: 134 MB / 447.2 MB, free: 9.977 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="cs",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.003068/0.003068, allocations: 68.73 kB / 0.6192 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1707, allocations: 85.9 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001643/0.1723, allocations: 0.5171 MB / 0.7036 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.1725, allocations: 40.3 kB / 0.7037 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.1726, allocations: 0 / 0.7037 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.1726, allocations: 7.938 kB / 0.7037 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1727, allocations: 0 / 0.7037 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.671e-05/0.1728, allocations: 0 / 0.7037 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.1728, allocations: 27.84 kB / 0.7037 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1729, allocations: 0 / 0.7037 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.1729, allocations: 0 / 0.7037 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.173, allocations: 11.98 kB / 0.7037 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.173, allocations: 0 / 0.7037 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.173, allocations: 4 kB / 0.7037 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.173, allocations: 0 / 0.7037 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.1731, allocations: 11.94 kB / 0.7037 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.792e-05/0.1731, allocations: 16.19 kB / 0.7037 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1732, allocations: 0 / 0.7037 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1732, allocations: 0 / 0.7037 GB, free: 472 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1732, allocations: 0 / 0.7037 GB, free: 472 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.0004386/0.1736, allocations: 250.4 kB / 0.704 GB, free: 192 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1736, allocations: 8.031 kB / 0.704 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.1737, allocations: 4.188 kB / 0.704 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.1737, allocations: 42.73 kB / 0.704 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.1737, allocations: 8.891 kB / 0.704 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1739, allocations: 118.4 kB / 0.7042 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1739, allocations: 4.375 kB / 0.7042 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1739, allocations: 7.875 kB / 0.7042 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.759e-05/0.174, allocations: 37.69 kB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.174, allocations: 0 / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.174, allocations: 0 / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.174, allocations: 0 / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.1741, allocations: 4 kB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1742, allocations: 124.8 kB / 0.7043 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.507e-05/0.1743, allocations: 30.45 kB / 0.7044 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.1743, allocations: 12.83 kB / 0.7044 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1743, allocations: 0 / 0.7044 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1744, allocations: 34.62 kB / 0.7044 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1744, allocations: 0 / 0.7044 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.1745, allocations: 37.69 kB / 0.7044 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1746, allocations: 51.41 kB / 0.7045 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.1747, allocations: 109.8 kB / 0.7046 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1747, allocations: 29.7 kB / 0.7046 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1747, allocations: 84.2 kB / 0.7047 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1748, allocations: 11.95 kB / 0.7047 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1748, allocations: 17.7 kB / 0.7047 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1749, allocations: 314.8 kB / 0.705 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.1749, allocations: 0 / 0.705 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.175, allocations: 17.7 kB / 0.705 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.175, allocations: 21.72 kB / 0.7051 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.175, allocations: 3.938 kB / 0.7051 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.13e-05/0.1751, allocations: 53.69 kB / 0.7051 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1751, allocations: 8 kB / 0.7051 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1751, allocations: 0 / 0.7051 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1751, allocations: 0 / 0.7051 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.1752, allocations: 7.984 kB / 0.7051 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1752, allocations: 3.984 kB / 0.7051 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.1752, allocations: 4 kB / 0.7051 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1752, allocations: 0 / 0.7051 GB, free: 14.82 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 8.08e-05/0.1753, allocations: 113.8 kB / 0.7053 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.1753, allocations: 7.953 kB / 0.7053 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1754, allocations: 56.77 kB / 0.7053 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1754, allocations: 4 kB / 0.7053 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1754, allocations: 0 / 0.7053 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1754, allocations: 0 / 0.7053 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1756, allocations: 128.9 kB / 0.7054 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1756, allocations: 4 kB / 0.7054 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.1756, allocations: 4 kB / 0.7054 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1756, allocations: 0 / 0.7054 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1756, allocations: 3.938 kB / 0.7055 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1756, allocations: 0 / 0.7055 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1756, allocations: 4 kB / 0.7055 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1758, allocations: 85.02 kB / 0.7055 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.1758, allocations: 4.031 kB / 0.7055 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1758, allocations: 0 / 0.7055 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.1758, allocations: 0 / 0.7055 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.1758, allocations: 0 / 0.7055 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1758, allocations: 4 kB / 0.7055 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.1759, allocations: 87.27 kB / 0.7056 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1759, allocations: 0 / 0.7056 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001755/0.1761, allocations: 4 kB / 0.7056 GB, free: 14.25 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.000443/0.1765, allocations: 0.6203 MB / 0.7062 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.1766, allocations: 11.98 kB / 0.7062 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1766, allocations: 0 / 0.7062 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.1766, allocations: 8 kB / 0.7063 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.1768, allocations: 4 kB / 0.7063 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.178, allocations: 1.149 MB / 0.7074 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/0.1781, allocations: 71.42 kB / 0.7075 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.1781, allocations: 4 kB / 0.7075 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.1782, allocations: 19.42 kB / 0.7075 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1782, allocations: 0 / 0.7075 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1993, allocations: 1.363 MB / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.92, allocations: 0 / 0.7088 GB, free: 11 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.386212365934625] Failed to read output from testmodel.py, exit status != 0: 11.074390601948835 11.094458602 10.917437211 Calling exit ...