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.001501/0.001501, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001479/0.001479, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3215, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4912/0.8128, allocations: 237.5 MB / 0.8135 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.8304, allocations: 15.76 MB / 0.8289 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.8329, allocations: 62.31 kB / 0.8289 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.8355, allocations: 1.038 MB / 0.8299 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006949/0.8425, allocations: 2.97 MB / 0.8328 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.8465, allocations: 1.681 MB / 0.8345 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004474/0.8509, allocations: 3.448 MB / 0.8378 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.8529, allocations: 1.288 MB / 0.8391 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005746/0.8587, allocations: 2.496 MB / 0.8415 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.8609, allocations: 1.09 MB / 0.8426 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.8612, allocations: 118.8 kB / 0.8427 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.8669, allocations: 3.095 MB / 0.8457 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.8675, allocations: 472.9 kB / 0.8462 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.869, allocations: 0.8156 MB / 0.847 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.8743, allocations: 2.978 MB / 0.8499 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8744, allocations: 0 / 0.8499 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8744, allocations: 0 / 0.8499 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.633e-05/0.8744, allocations: 6.5 kB / 0.8499 GB, free: 10.17 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.003567/0.878, allocations: 2.011 MB / 0.8519 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.878, allocations: 9.5 kB / 0.8519 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/0.8808, allocations: 497.8 kB / 0.8523 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.8831, allocations: 1.172 MB / 0.8535 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.8832, allocations: 87.25 kB / 0.8536 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.8833, allocations: 96 kB / 0.8537 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.8856, allocations: 1.345 MB / 0.855 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.8857, allocations: 9.156 kB / 0.855 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.8858, allocations: 44 kB / 0.855 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.8858, allocations: 45.98 kB / 0.8551 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.8881, allocations: 1.049 MB / 0.8561 GB, free: 4.75 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.007726/0.8958, allocations: 7.395 MB / 0.8633 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.8974, allocations: 0.5319 MB / 0.8638 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.898, allocations: 261.2 kB / 0.8641 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.8984, allocations: 286.2 kB / 0.8644 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.8984, allocations: 42.78 kB / 0.8644 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.8984, allocations: 0 / 0.8644 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.002312/0.9008, allocations: 0.8394 MB / 0.8652 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.9008, allocations: 55.41 kB / 0.8653 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.9026, allocations: 1.391 MB / 0.8666 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.9027, allocations: 37.7 kB / 0.8667 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000546/0.9033, allocations: 0.7039 MB / 0.8674 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.9034, allocations: 121.2 kB / 0.8675 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.9036, allocations: 170.4 kB / 0.8676 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9038, allocations: 334 kB / 0.8679 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007988/0.9046, allocations: 323.1 kB / 0.8683 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.9057, allocations: 0.7123 MB / 0.869 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.9074, allocations: 0.9492 MB / 0.8699 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9074, allocations: 4 kB / 0.8699 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002252/0.9097, allocations: 1.064 MB / 0.8709 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.9097, allocations: 15.94 kB / 0.8709 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9097, allocations: 12 kB / 0.8709 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.9098, allocations: 16 kB / 0.871 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/0.9106, allocations: 208.9 kB / 0.8712 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.9106, allocations: 21.06 kB / 0.8712 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.9119, allocations: 182.6 kB / 0.8714 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.912, allocations: 47.98 kB / 0.8714 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.9132, allocations: 0.5746 MB / 0.872 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.9143, allocations: 0.7051 MB / 0.8727 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001617/0.9159, allocations: 0.9426 MB / 0.8736 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.9159, allocations: 4 kB / 0.8736 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002263/0.9182, allocations: 1.056 MB / 0.8746 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9182, allocations: 15.94 kB / 0.8746 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9182, allocations: 16.03 kB / 0.8746 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.9182, allocations: 23.09 kB / 0.8747 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.9191, allocations: 208.1 kB / 0.8749 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.9191, allocations: 30.34 kB / 0.8749 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.9203, allocations: 138.7 kB / 0.875 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.9204, allocations: 43.98 kB / 0.8751 GB, free: 420 kB / 0.6075 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.0002388/0.9207, allocations: 238.1 kB / 0.8753 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.9209, allocations: 146.1 kB / 0.8754 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.9225, allocations: 0.6379 MB / 0.8761 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.9225, allocations: 4 kB / 0.8761 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.9225, allocations: 0 / 0.8761 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9225, allocations: 3.984 kB / 0.8761 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.9261, allocations: 1.888 MB / 0.8779 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.9261, allocations: 4 kB / 0.8779 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.9266, allocations: 87.17 kB / 0.878 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/0.9266, allocations: 11.94 kB / 0.878 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.9266, allocations: 15.98 kB / 0.878 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.9266, allocations: 7.375 kB / 0.878 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9267, allocations: 4 kB / 0.878 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.9281, allocations: 0.81 MB / 0.8788 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.9286, allocations: 299 kB / 0.8791 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.9288, allocations: 15.98 kB / 0.8791 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.9298, allocations: 63.92 kB / 0.8792 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.9299, allocations: 35.09 kB / 0.8792 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.9299, allocations: 19.98 kB / 0.8792 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001341/0.9313, allocations: 1.009 MB / 0.8802 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9313, allocations: 0 / 0.8802 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001731/0.933, allocations: 0.5734 MB / 0.8808 GB, free: 10.41 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.000511/0.9335, allocations: 267.1 kB / 0.881 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.9362, allocations: 1.151 MB / 0.8822 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.9362, allocations: 4.938 kB / 0.8822 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/0.9369, allocations: 258.7 kB / 0.8824 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.9399, allocations: 0.7348 MB / 0.8831 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.9444, allocations: 2.246 MB / 0.8853 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.9451, allocations: 1.182 MB / 0.8865 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001224/0.9463, allocations: 383.8 kB / 0.8868 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.9466, allocations: 99.41 kB / 0.8869 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.9466, allocations: 4 kB / 0.8869 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of Templates: time 0.03879/0.9854, allocations: 24.97 MB / 0.9113 GB, free: 11.59 MB / 0.6544 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)