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.0009815/0.0009815, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00114/0.00114, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.9206/0.9206, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.724/0.724, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.54e-05, allocations: 5.375 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001289/0.001314, allocations: 0.5246 MB / 0.6185 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.001481, allocations: 43.75 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.001538, allocations: 7.938 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.001571, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.001738, allocations: 7.984 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.504e-05/0.001793, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.001865, allocations: 15.86 kB / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.001909, allocations: 7.984 kB / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.001972, allocations: 8 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.002045, allocations: 7.984 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.002069, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-06/0.002076, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.002132, allocations: 8 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.002157, allocations: 3.938 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.05e-05/0.002238, allocations: 15.97 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.002241, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.002242, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002247, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 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.0004148/0.002661, allocations: 250.4 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.002706, allocations: 13.47 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.002735, allocations: 34.73 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.002755, allocations: 0.9375 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.002906, allocations: 125.7 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.002914, allocations: 384 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.002931, allocations: 384 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.003006, allocations: 34.25 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003013, allocations: 4.172 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.003021, allocations: 384 / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003027, allocations: 4.125 kB / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.003049, allocations: 7.938 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.003174, allocations: 124.8 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.003214, allocations: 18.58 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.003232, allocations: 16.91 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.003247, allocations: 0 / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.868e-05/0.003266, allocations: 34.56 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003266, allocations: 0 / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.003403, allocations: 45.62 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.003434, allocations: 59.28 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.003505, allocations: 109.8 kB / 0.6195 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.003516, allocations: 29.64 kB / 0.6195 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.003549, allocations: 84.14 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.003572, allocations: 7.938 kB / 0.6196 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.003597, allocations: 13.84 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.003674, allocations: 318.8 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.003689, allocations: 4 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.00371, allocations: 17.7 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.003747, allocations: 25.66 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.003749, allocations: 0 / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.632e-05/0.003806, allocations: 41.69 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.003822, allocations: 11.94 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.003827, allocations: 4.125 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.003841, allocations: 0 / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.003921, allocations: 11.92 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.003926, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.00394, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.003947, allocations: 4.25 kB / 0.6201 GB, free: 11.46 MB / 0.5886 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 6.354e-05/0.004011, allocations: 110.8 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.004017, allocations: 4 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-05/0.004112, allocations: 45.14 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.004116, allocations: 0 / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.004123, allocations: 15.97 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.004126, allocations: 0 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.045e-05/0.004207, allocations: 128.7 kB / 0.6204 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.004208, allocations: 0 / 0.6204 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.00426, allocations: 7.938 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004261, allocations: 0 / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.004269, allocations: 0 / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00427, allocations: 0 / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.004274, allocations: 7.938 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.004376, allocations: 77.11 kB / 0.6204 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.004396, allocations: 8.125 kB / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.004406, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.004417, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.004432, allocations: 11.86 kB / 0.6205 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.004434, allocations: 4 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.004467, allocations: 87.28 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004467, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001149/0.004582, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 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.000252/0.004834, allocations: 0.6085 MB / 0.6211 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.004913, allocations: 20.08 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004914, allocations: 4 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.637e-06/0.004923, allocations: 11.88 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.005046, allocations: 10.11 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.005789, allocations: 1.143 MB / 0.6223 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.005834, allocations: 63.34 kB / 0.6224 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.005855, allocations: 4 kB / 0.6224 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.005897, allocations: 8.688 kB / 0.6224 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.005898, allocations: 4 kB / 0.6224 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.0272, allocations: 1.847 MB / 0.6242 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.062, allocations: 5.062 kB / 0.6242 GB, free: 7.148 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 9.760856616310775] Failed to read output from testmodel.py, exit status != 0: 7.143083285540342 7.157363211 7.152281177 Calling exit ...