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.0008448/0.0008448, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002091, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007588/0.0007588, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002411, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.963/0.963, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.065, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7397/0.7397, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2624/1.002, allocations: 49.13 MB / 448.6 MB, free: 5.906 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.292e-05, allocations: 7.078 kB / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001274/0.001297, allocations: 0.5943 MB / 450.5 MB, free: 4.055 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 6.454e-05/0.001362, allocations: 32.66 kB / 450.6 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.001399, allocations: 4.5 kB / 450.6 MB, free: 4.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.001415, allocations: 0 / 450.6 MB, free: 4.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.001476, allocations: 1.391 kB / 450.6 MB, free: 4.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.925e-05/0.001516, allocations: 21.89 kB / 450.6 MB, free: 4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.00157, allocations: 10.23 kB / 450.6 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.192e-05/0.001602, allocations: 4.766 kB / 450.6 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.001675, allocations: 13.17 kB / 450.6 MB, free: 3.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.00175, allocations: 19.17 kB / 450.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.001767, allocations: 0 / 450.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.001774, allocations: 0 / 450.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.001813, allocations: 5.969 kB / 450.6 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.001832, allocations: 1.094 kB / 450.6 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.854e-05/0.001901, allocations: 11.31 kB / 450.7 MB, free: 3.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.001911, allocations: 0 / 450.7 MB, free: 3.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001911, allocations: 0 / 450.7 MB, free: 3.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.001918, allocations: 0 / 450.7 MB, free: 3.953 MB / 426.7 MB 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.0003006/0.002219, allocations: 234.7 kB / 450.9 MB, free: 3.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.002249, allocations: 8.906 kB / 450.9 MB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.002273, allocations: 6.906 kB / 450.9 MB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.002391, allocations: 109.8 kB / 451 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.002397, allocations: 1.641 kB / 451 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.002415, allocations: 8.375 kB / 451 MB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.049e-05/0.002475, allocations: 33.08 kB / 451.1 MB, free: 3.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.002481, allocations: 4.75 kB / 451.1 MB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.002486, allocations: 1.938 kB / 451.1 MB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.00249, allocations: 1.031 kB / 451.1 MB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-06/0.002499, allocations: 7.938 kB / 451.1 MB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.197e-05/0.002561, allocations: 55.88 kB / 451.1 MB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.002597, allocations: 24.62 kB / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-06/0.002606, allocations: 4.859 kB / 451.2 MB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.002617, allocations: 1.781 kB / 451.2 MB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.002634, allocations: 31.22 kB / 451.2 MB, free: 3.344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.002635, allocations: 4.062 kB / 451.2 MB, free: 3.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.61e-05/0.002721, allocations: 38.53 kB / 451.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.002747, allocations: 55.41 kB / 451.3 MB, free: 3.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.002806, allocations: 107.9 kB / 451.4 MB, free: 3.113 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.002815, allocations: 25.7 kB / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.002839, allocations: 88.5 kB / 451.5 MB, free: 2.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.00286, allocations: 12.58 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.00288, allocations: 9.719 kB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.00295, allocations: 323.4 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.002959, allocations: 4.078 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.002972, allocations: 17.7 kB / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.003, allocations: 21.27 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003002, allocations: 0.9062 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.324e-05/0.003045, allocations: 49.55 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.003055, allocations: 5 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003059, allocations: 0 / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.003069, allocations: 0.625 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.003122, allocations: 4 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.003125, allocations: 5.312 kB / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.003137, allocations: 0 / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.003142, allocations: 0 / 451.9 MB, free: 2.523 MB / 426.7 MB 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 4.844e-05/0.003191, allocations: 117.2 kB / 452.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-06/0.003196, allocations: 4.25 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.003269, allocations: 47 kB / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.003271, allocations: 0 / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.003273, allocations: 4 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003275, allocations: 5.062 kB / 452.1 MB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.616e-05/0.003332, allocations: 65.84 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.003333, allocations: 0.9062 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.003364, allocations: 4.766 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.003378, allocations: 3.984 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.00338, allocations: 0.7188 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.003388, allocations: 4 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.003389, allocations: 0.5938 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.00339, allocations: 1.438 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.973e-05/0.00347, allocations: 75.69 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.003478, allocations: 1.094 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.003486, allocations: 0.7812 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.003494, allocations: 0 / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.003496, allocations: 5.375 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.534e-05/0.003511, allocations: 20.84 kB / 452.3 MB, free: 2.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003511, allocations: 0 / 452.3 MB, free: 2.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.701e-05/0.003598, allocations: 0 / 452.3 MB, free: 2.113 MB / 426.7 MB 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 6.557e-05/0.003664, allocations: 77.27 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.925e-05/0.003713, allocations: 15.2 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.003717, allocations: 0.7812 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.00373, allocations: 9.516 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.655e-05/0.003796, allocations: 11.94 kB / 452.4 MB, free: 1.992 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/0.003977, allocations: 113.4 kB / 452.5 MB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.676e-05/0.004003, allocations: 63.97 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.553e-05/0.004019, allocations: 5.094 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.004052, allocations: 47.38 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.004053, allocations: 0.625 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of Templates: time 0.001613/0.005666, allocations: 386.9 kB / 453 MB, free: 1.363 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2978317085653543]