Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008418/0.0008418, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009959/0.0009959, allocations: 222.9 kB / 22.26 MB, free: 3.691 MB / 13.93 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 0.937/0.937, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7924/0.7924, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_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.001188/0.001188, allocations: 62.78 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4765, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001502/0.478, allocations: 0.5428 MB / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.4782, allocations: 38.59 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.4783, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.4783, allocations: 5.984 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.4785, allocations: 3.531 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.415e-05/0.4786, allocations: 6.109 kB / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.4786, allocations: 13.81 kB / 0.8184 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.4787, allocations: 4.156 kB / 0.8184 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.4787, allocations: 7.594 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.4788, allocations: 11.45 kB / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.4788, allocations: 0 / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.4788, allocations: 0 / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.4789, allocations: 11.8 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.4789, allocations: 3.688 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.27e-05/0.479, allocations: 18.02 kB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.479, allocations: 0 / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.479, allocations: 0 / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.479, allocations: 0 / 0.8185 GB, free: 0.8477 MB / 0.6042 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.0003667/0.4794, allocations: 257.7 kB / 0.8187 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4794, allocations: 10.78 kB / 0.8188 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.048e-05/0.4794, allocations: 30.75 kB / 0.8188 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.4795, allocations: 13.67 kB / 0.8188 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.4796, allocations: 121.2 kB / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4796, allocations: 384 / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4796, allocations: 384 / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.933e-05/0.4797, allocations: 32.7 kB / 0.8189 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.4797, allocations: 3.938 kB / 0.8189 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.4797, allocations: 0 / 0.8189 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4797, allocations: 0 / 0.8189 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.4797, allocations: 5.875 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.4798, allocations: 129.2 kB / 0.8191 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.4799, allocations: 22.33 kB / 0.8191 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.4799, allocations: 9.781 kB / 0.8191 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.4799, allocations: 0 / 0.8191 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.4799, allocations: 35.31 kB / 0.8191 GB, free: 128 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.4799, allocations: 7.875 kB / 0.8191 GB, free: 120 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.4801, allocations: 51.58 kB / 0.8192 GB, free: 76 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.4801, allocations: 58.66 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.4802, allocations: 107.7 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4802, allocations: 25.7 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.4802, allocations: 87.27 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.4802, allocations: 0.5625 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.4803, allocations: 12.05 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.4803, allocations: 318 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.4804, allocations: 9.281 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.4804, allocations: 13.89 kB / 0.8198 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.4804, allocations: 23.64 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4804, allocations: 0 / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.202e-05/0.4805, allocations: 55.19 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4805, allocations: 12.09 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4805, allocations: 4 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4805, allocations: 0 / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.4806, allocations: 4.641 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4806, allocations: 2.438 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.4806, allocations: 0.75 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4806, allocations: 6.219 kB / 0.8199 GB, free: 15.36 MB / 0.6198 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 5.795e-05/0.4807, allocations: 113.5 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.4807, allocations: 10.06 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/0.4808, allocations: 55.33 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4808, allocations: 7.094 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4808, allocations: 0 / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4808, allocations: 0 / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.626e-05/0.4809, allocations: 125.5 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4809, allocations: 2.344 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.4809, allocations: 3.344 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4809, allocations: 3.938 kB / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4809, allocations: 2.312 kB / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4809, allocations: 0 / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.481, allocations: 0 / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.4811, allocations: 91.22 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.4811, allocations: 3.031 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4811, allocations: 8.766 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.4811, allocations: 1.844 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.4811, allocations: 0.8906 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4811, allocations: 0.6562 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.4811, allocations: 94.75 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4811, allocations: 0 / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001279/0.4813, allocations: 7.625 kB / 0.8204 GB, free: 14.85 MB / 0.6198 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.000268/0.4815, allocations: 0.6091 MB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.4816, allocations: 17.05 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4816, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.4816, allocations: 5.312 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.4818, allocations: 8.766 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.4825, allocations: 1.149 MB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.4827, allocations: 0.6783 MB / 0.8228 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.4827, allocations: 1.453 kB / 0.8228 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.4828, allocations: 15 kB / 0.8228 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.4828, allocations: 0 / 0.8228 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.5013, allocations: 1.309 MB / 0.8241 GB, free: 12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.599/7.1, allocations: 9.891 kB / 0.8241 GB, free: 12 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.079653253080323] Failed to read output from testmodel.py, exit status != 0: 7.177434029057622 7.187770485 6.706741896 Calling exit ...