Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001202/0.001202, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001138/0.001138, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7654/0.7654, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 75.88 kB / 0.5067 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3304, allocations: 80.9 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5094/0.8398, allocations: 237.5 MB / 0.8177 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.8578, allocations: 15.77 MB / 0.8331 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.8605, allocations: 62.22 kB / 0.8332 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.8633, allocations: 1.033 MB / 0.8342 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007528/0.8708, allocations: 2.963 MB / 0.8371 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.8753, allocations: 1.704 MB / 0.8387 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004987/0.8803, allocations: 3.439 MB / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.8822, allocations: 1.304 MB / 0.8434 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.8884, allocations: 2.486 MB / 0.8458 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.8908, allocations: 1.078 MB / 0.8468 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.891, allocations: 118.5 kB / 0.847 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/0.8973, allocations: 3.096 MB / 0.85 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000776/0.8982, allocations: 487 kB / 0.8504 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.8997, allocations: 0.812 MB / 0.8512 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006242/0.9059, allocations: 2.98 MB / 0.8541 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.906, allocations: 3.984 kB / 0.8542 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.013e-06/0.906, allocations: 2.5 kB / 0.8542 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.785e-05/0.906, allocations: 0 / 0.8542 GB, free: 8.852 MB / 0.5919 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.003921/0.9099, allocations: 2.001 MB / 0.8561 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.91, allocations: 9.109 kB / 0.8561 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/0.9128, allocations: 0.4976 MB / 0.8566 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.9153, allocations: 1.17 MB / 0.8577 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.9154, allocations: 80.11 kB / 0.8578 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.9155, allocations: 100 kB / 0.8579 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.9178, allocations: 1.352 MB / 0.8592 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.9179, allocations: 10.61 kB / 0.8592 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.918, allocations: 47.44 kB / 0.8593 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.918, allocations: 46 kB / 0.8593 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.9203, allocations: 1.05 MB / 0.8604 GB, free: 2.512 MB / 0.5919 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.008934/0.9293, allocations: 7.401 MB / 0.8676 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.9308, allocations: 0.5373 MB / 0.8681 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.9314, allocations: 261.2 kB / 0.8684 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.9318, allocations: 286.3 kB / 0.8686 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.9319, allocations: 41.47 kB / 0.8687 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.9319, allocations: 4 kB / 0.8687 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.002234/0.9341, allocations: 0.8322 MB / 0.8695 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.9342, allocations: 58.03 kB / 0.8695 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.936, allocations: 1.387 MB / 0.8709 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.9361, allocations: 41.64 kB / 0.8709 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.9366, allocations: 0.704 MB / 0.8716 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.9367, allocations: 121 kB / 0.8717 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.937, allocations: 174.4 kB / 0.8719 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9371, allocations: 334 kB / 0.8722 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000755/0.9379, allocations: 316.6 kB / 0.8725 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.9389, allocations: 0.7086 MB / 0.8732 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.9405, allocations: 0.9508 MB / 0.8742 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.9405, allocations: 4 kB / 0.8742 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002173/0.9427, allocations: 1.067 MB / 0.8752 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9427, allocations: 12 kB / 0.8752 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.9428, allocations: 20.86 kB / 0.8752 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.9428, allocations: 16 kB / 0.8752 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.9436, allocations: 204.6 kB / 0.8754 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.9437, allocations: 25.05 kB / 0.8755 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.9449, allocations: 182.7 kB / 0.8756 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.945, allocations: 44 kB / 0.8757 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001104/0.9461, allocations: 0.569 MB / 0.8762 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.9471, allocations: 0.7084 MB / 0.8769 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001552/0.9487, allocations: 0.9442 MB / 0.8778 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.9487, allocations: 4 kB / 0.8779 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002228/0.9509, allocations: 1.068 MB / 0.8789 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.951, allocations: 12 kB / 0.8789 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.951, allocations: 14.53 kB / 0.8789 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.951, allocations: 16 kB / 0.8789 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.9518, allocations: 209 kB / 0.8791 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.9518, allocations: 21.06 kB / 0.8792 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.9531, allocations: 139.4 kB / 0.8793 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.9531, allocations: 39.98 kB / 0.8793 GB, free: 14.18 MB / 0.6231 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.0002468/0.9534, allocations: 244.8 kB / 0.8796 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.9536, allocations: 138.2 kB / 0.8797 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.9552, allocations: 0.6507 MB / 0.8803 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.9552, allocations: 4 kB / 0.8803 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9552, allocations: 0 / 0.8803 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9552, allocations: 0 / 0.8803 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.9586, allocations: 1.892 MB / 0.8822 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9587, allocations: 4 kB / 0.8822 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.9591, allocations: 93.3 kB / 0.8823 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.9592, allocations: 4 kB / 0.8823 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.9592, allocations: 12 kB / 0.8823 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.9592, allocations: 10.52 kB / 0.8823 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9592, allocations: 4.188 kB / 0.8823 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.9607, allocations: 0.8045 MB / 0.8831 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.9612, allocations: 299.1 kB / 0.8834 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.9614, allocations: 12 kB / 0.8834 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.9624, allocations: 63.92 kB / 0.8834 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.9625, allocations: 38.44 kB / 0.8835 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.9625, allocations: 27.97 kB / 0.8835 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001392/0.9639, allocations: 1.001 MB / 0.8845 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9639, allocations: 4 kB / 0.8845 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001777/0.9657, allocations: 0.5734 MB / 0.885 GB, free: 8.16 MB / 0.6231 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.0005982/0.9663, allocations: 270.8 kB / 0.8853 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002702/0.969, allocations: 1.151 MB / 0.8864 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.969, allocations: 0 / 0.8864 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.9697, allocations: 249.6 kB / 0.8867 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.9727, allocations: 0.7354 MB / 0.8874 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.9774, allocations: 2.243 MB / 0.8896 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.9783, allocations: 1.186 MB / 0.8907 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001557/0.9799, allocations: 395.8 kB / 0.8911 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.9802, allocations: 91.42 kB / 0.8912 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/0.9802, allocations: 0 / 0.8912 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of Templates: time 0.04236/1.023, allocations: 24.97 MB / 0.9156 GB, free: 9.316 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)