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.001313/0.001313, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001518/0.001518, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 7.98 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.8418/0.8418, allocations: 134 MB / 446.4 MB, free: 10.2 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.003003/0.003003, allocations: 66.27 kB / 0.6185 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1765, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00172/0.1783, allocations: 0.521 MB / 0.7029 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.1784, allocations: 44.27 kB / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.1785, allocations: 0 / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.1785, allocations: 0 / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1786, allocations: 7.938 kB / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.405e-05/0.1787, allocations: 4 kB / 0.703 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.1787, allocations: 7.984 kB / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.1788, allocations: 4 kB / 0.703 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.1788, allocations: 11.92 kB / 0.703 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1789, allocations: 15.92 kB / 0.703 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1789, allocations: 0 / 0.703 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.1789, allocations: 4 kB / 0.703 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.179, allocations: 0 / 0.703 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.179, allocations: 7.938 kB / 0.703 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.269e-05/0.179, allocations: 4.266 kB / 0.703 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.179, allocations: 4 kB / 0.703 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.179, allocations: 0 / 0.703 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.1791, allocations: 0 / 0.703 GB, free: 0.7578 MB / 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.0003926/0.1794, allocations: 254.4 kB / 0.7033 GB, free: 492 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1795, allocations: 12.03 kB / 0.7033 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1795, allocations: 30.75 kB / 0.7033 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.1795, allocations: 8.875 kB / 0.7033 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.1797, allocations: 130.4 kB / 0.7035 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1797, allocations: 384 / 0.7035 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1797, allocations: 4.125 kB / 0.7035 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.1798, allocations: 37.62 kB / 0.7035 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1798, allocations: 7.922 kB / 0.7035 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.1798, allocations: 4 kB / 0.7035 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1798, allocations: 0 / 0.7035 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.1799, allocations: 4 kB / 0.7035 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.18, allocations: 124.8 kB / 0.7036 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.18, allocations: 22.56 kB / 0.7037 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.1801, allocations: 8.797 kB / 0.7037 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1801, allocations: 0 / 0.7037 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.1801, allocations: 38.62 kB / 0.7037 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1801, allocations: 0 / 0.7037 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.1802, allocations: 45.62 kB / 0.7037 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1803, allocations: 51.41 kB / 0.7038 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.1804, allocations: 109.8 kB / 0.7039 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1804, allocations: 25.7 kB / 0.7039 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1804, allocations: 80.14 kB / 0.704 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1805, allocations: 11.94 kB / 0.704 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.1805, allocations: 17.84 kB / 0.704 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1806, allocations: 310.8 kB / 0.7043 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.1806, allocations: 4 kB / 0.7043 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.1807, allocations: 21.7 kB / 0.7044 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.1807, allocations: 21.66 kB / 0.7044 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1807, allocations: 4.062 kB / 0.7044 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.91e-05/0.1808, allocations: 53.56 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1808, allocations: 6.656 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1808, allocations: 0 / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1808, allocations: 4 kB / 0.7044 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.1809, allocations: 3.984 kB / 0.7044 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1809, allocations: 4 kB / 0.7044 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.1809, allocations: 256 / 0.7044 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1809, allocations: 4 kB / 0.7044 GB, free: 15.12 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.869e-05/0.181, allocations: 113.9 kB / 0.7046 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.181, allocations: 7.891 kB / 0.7046 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.1811, allocations: 52.83 kB / 0.7046 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1811, allocations: 3.938 kB / 0.7046 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1811, allocations: 3.938 kB / 0.7046 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1811, allocations: 0 / 0.7046 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1812, allocations: 128.7 kB / 0.7047 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1812, allocations: 4 kB / 0.7047 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.1812, allocations: 3.938 kB / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1812, allocations: 8.031 kB / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1813, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1813, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1813, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1814, allocations: 81.05 kB / 0.7048 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.1814, allocations: 4.031 kB / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1814, allocations: 0 / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.1814, allocations: 96 / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1814, allocations: 7.984 kB / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1814, allocations: 4 kB / 0.7049 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.1815, allocations: 87.22 kB / 0.7049 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1815, allocations: 0 / 0.7049 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001862/0.1817, allocations: 4 kB / 0.7049 GB, free: 14.54 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.0004024/0.1821, allocations: 0.6085 MB / 0.7055 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.973e-05/0.1822, allocations: 23.92 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1822, allocations: 0 / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.1822, allocations: 4 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.1823, allocations: 6.938 kB / 0.7056 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.1833, allocations: 1.135 MB / 0.7067 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1836, allocations: 0.6922 MB / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.1836, allocations: 0 / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.1836, allocations: 11.44 kB / 0.7074 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.1836, allocations: 4 kB / 0.7074 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.2118, allocations: 1.307 MB / 0.7086 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.62, allocations: 2.031 kB / 0.7086 GB, free: 10.74 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: 13.964001638814807] Failed to read output from testmodel.py, exit status != 0: 10.714932395843789 10.729037042 10.547176266 Calling exit ...