Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005134/0.005135, allocations: 101.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7605/0.7605, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 0.5813 GB, free: 7.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4223, allocations: 80.21 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.7612/1.183, allocations: 237.5 MB / 0.8916 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02632/1.21, allocations: 15.76 MB / 0.907 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/1.213, allocations: 64 kB / 0.9071 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003627/1.217, allocations: 1.074 MB / 0.9081 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/1.228, allocations: 3.087 MB / 0.9111 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/1.234, allocations: 1.698 MB / 0.9128 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007066/1.241, allocations: 3.44 MB / 0.9162 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/1.244, allocations: 1.292 MB / 0.9174 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009032/1.253, allocations: 2.583 MB / 0.9199 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/1.257, allocations: 1.082 MB / 0.921 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007837/1.258, allocations: 117 kB / 0.9211 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009849/1.267, allocations: 3.107 MB / 0.9242 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/1.269, allocations: 478.5 kB / 0.9246 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003193/1.272, allocations: 0.8111 MB / 0.9254 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009741/1.282, allocations: 2.989 MB / 0.9283 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.282, allocations: 3.406 kB / 0.9283 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/1.282, allocations: 1 kB / 0.9283 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001074/1.282, allocations: 0 / 0.9283 GB, free: 0.7344 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006783/1.289, allocations: 2.006 MB / 0.9303 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.289, allocations: 7.844 kB / 0.9303 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/1.292, allocations: 0.4989 MB / 0.9308 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/1.296, allocations: 1.166 MB / 0.9319 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/1.296, allocations: 82.44 kB / 0.932 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004421/1.297, allocations: 101.2 kB / 0.9321 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/1.3, allocations: 1.352 MB / 0.9334 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-05/1.3, allocations: 7.531 kB / 0.9334 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/1.3, allocations: 42.06 kB / 0.9335 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-05/1.301, allocations: 47.66 kB / 0.9335 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/1.303, allocations: 1.053 MB / 0.9345 GB, free: 14.84 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/1.314, allocations: 7.383 MB / 0.9417 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/1.315, allocations: 0.5384 MB / 0.9423 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/1.316, allocations: 264 kB / 0.9425 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/1.317, allocations: 286.1 kB / 0.9428 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.317, allocations: 40.28 kB / 0.9428 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/1.317, allocations: 0 / 0.9428 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002545/1.319, allocations: 0.8402 MB / 0.9436 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.319, allocations: 54.12 kB / 0.9437 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.322, allocations: 1.393 MB / 0.9451 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.322, allocations: 33.48 kB / 0.9451 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/1.322, allocations: 0.7067 MB / 0.9458 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.322, allocations: 116.6 kB / 0.9459 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/1.323, allocations: 173.1 kB / 0.9461 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.323, allocations: 336.4 kB / 0.9464 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/1.324, allocations: 317.6 kB / 0.9467 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.325, allocations: 0.7084 MB / 0.9474 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/1.327, allocations: 0.945 MB / 0.9483 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.327, allocations: 12.59 kB / 0.9483 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002564/1.329, allocations: 1.067 MB / 0.9494 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.329, allocations: 10.91 kB / 0.9494 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.329, allocations: 11.69 kB / 0.9494 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/1.329, allocations: 20.09 kB / 0.9494 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/1.33, allocations: 205.8 kB / 0.9496 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/1.33, allocations: 28.31 kB / 0.9496 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.332, allocations: 178.4 kB / 0.9498 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/1.332, allocations: 46.92 kB / 0.9498 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/1.333, allocations: 0.5754 MB / 0.9504 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001046/1.334, allocations: 0.712 MB / 0.9511 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001607/1.336, allocations: 0.943 MB / 0.952 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/1.336, allocations: 2.531 kB / 0.952 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002408/1.338, allocations: 1.06 MB / 0.953 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.338, allocations: 12.62 kB / 0.9531 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.338, allocations: 16.44 kB / 0.9531 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.338, allocations: 16.31 kB / 0.9531 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/1.339, allocations: 211.4 kB / 0.9533 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/1.339, allocations: 26.25 kB / 0.9533 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/1.341, allocations: 141 kB / 0.9535 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/1.341, allocations: 42.25 kB / 0.9535 GB, free: 6.035 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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 0.0003317/1.341, allocations: 238.3 kB / 0.9537 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/1.341, allocations: 139.3 kB / 0.9539 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/1.343, allocations: 0.6432 MB / 0.9545 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.343, allocations: 2.906 kB / 0.9545 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.343, allocations: 3 kB / 0.9545 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.343, allocations: 0 / 0.9545 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/1.347, allocations: 1.89 MB / 0.9563 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.347, allocations: 2.188 kB / 0.9563 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/1.348, allocations: 93.8 kB / 0.9564 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.348, allocations: 5.281 kB / 0.9564 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.348, allocations: 11.34 kB / 0.9564 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.348, allocations: 9.203 kB / 0.9564 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.348, allocations: 9.359 kB / 0.9565 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/1.349, allocations: 0.8168 MB / 0.9573 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/1.35, allocations: 293.3 kB / 0.9575 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/1.35, allocations: 8.781 kB / 0.9575 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.351, allocations: 71.27 kB / 0.9576 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.351, allocations: 28.12 kB / 0.9576 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/1.352, allocations: 32.28 kB / 0.9577 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001743/1.353, allocations: 0.9981 MB / 0.9586 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.71e-07/1.353, allocations: 0 / 0.9586 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002297/1.356, allocations: 0.5764 MB / 0.9592 GB, free: 4.059 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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.0007092/1.356, allocations: 271.6 kB / 0.9595 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.359, allocations: 1.137 MB / 0.9606 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.359, allocations: 2.438 kB / 0.9606 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/1.36, allocations: 251.3 kB / 0.9608 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/1.363, allocations: 0.748 MB / 0.9615 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/1.369, allocations: 2.247 MB / 0.9637 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/1.369, allocations: 1.179 MB / 0.9649 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001595/1.371, allocations: 394 kB / 0.9653 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/1.371, allocations: 96.14 kB / 0.9654 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of SimCode: time 1.102e-06/1.371, allocations: 4 kB / 0.9654 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of Templates: time 0.04574/1.417, allocations: 25.17 MB / 0.9899 GB, free: 9.281 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)