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.007125/0.007125, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001767/0.001767, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9293/0.9293, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4403, allocations: 80.92 MB / 0.6646 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.7246/1.165, allocations: 237.5 MB / 0.8966 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02002/1.185, allocations: 15.76 MB / 0.912 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/1.188, allocations: 61.78 kB / 0.912 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/1.19, allocations: 1.075 MB / 0.9131 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007451/1.198, allocations: 3.09 MB / 0.9161 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/1.202, allocations: 1.696 MB / 0.9178 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004709/1.207, allocations: 3.449 MB / 0.9211 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/1.208, allocations: 1.289 MB / 0.9224 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005687/1.214, allocations: 2.588 MB / 0.9249 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/1.216, allocations: 1.078 MB / 0.926 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/1.216, allocations: 123.5 kB / 0.9261 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006099/1.222, allocations: 3.108 MB / 0.9291 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000536/1.223, allocations: 476.6 kB / 0.9296 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009506/1.224, allocations: 0.8098 MB / 0.9304 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005761/1.229, allocations: 2.99 MB / 0.9333 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.229, allocations: 0 / 0.9333 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/1.229, allocations: 0 / 0.9333 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.229, allocations: 0.9688 kB / 0.9333 GB, free: 0.5586 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.003582/1.233, allocations: 2.009 MB / 0.9353 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.233, allocations: 10.97 kB / 0.9353 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/1.236, allocations: 0.4966 MB / 0.9357 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/1.238, allocations: 1.162 MB / 0.9369 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/1.238, allocations: 79.94 kB / 0.937 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.238, allocations: 103 kB / 0.9371 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.241, allocations: 1.347 MB / 0.9384 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.241, allocations: 5.156 kB / 0.9384 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.241, allocations: 45.72 kB / 0.9384 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/1.241, allocations: 49.61 kB / 0.9385 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.243, allocations: 1.048 MB / 0.9395 GB, free: 14.66 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.00715/1.25, allocations: 7.391 MB / 0.9467 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.252, allocations: 0.5371 MB / 0.9472 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/1.252, allocations: 259.1 kB / 0.9475 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/1.253, allocations: 289.1 kB / 0.9478 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.253, allocations: 36 kB / 0.9478 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/1.253, allocations: 9.703 kB / 0.9478 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002218/1.255, allocations: 0.8367 MB / 0.9486 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.255, allocations: 53.91 kB / 0.9487 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.257, allocations: 1.391 MB / 0.95 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/1.257, allocations: 34.45 kB / 0.9501 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/1.257, allocations: 0.6998 MB / 0.9507 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.257, allocations: 122 kB / 0.9509 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/1.258, allocations: 174.1 kB / 0.951 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.258, allocations: 336.7 kB / 0.9513 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008428/1.259, allocations: 323.9 kB / 0.9517 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.26, allocations: 0.7099 MB / 0.9523 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/1.261, allocations: 0.9438 MB / 0.9533 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.261, allocations: 4.719 kB / 0.9533 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002185/1.263, allocations: 1.073 MB / 0.9543 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.264, allocations: 11.17 kB / 0.9543 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.264, allocations: 13.22 kB / 0.9543 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.264, allocations: 15.5 kB / 0.9544 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/1.264, allocations: 208.5 kB / 0.9546 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/1.264, allocations: 24.64 kB / 0.9546 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.266, allocations: 179 kB / 0.9548 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/1.266, allocations: 48.16 kB / 0.9548 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/1.267, allocations: 0.5778 MB / 0.9554 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/1.268, allocations: 0.7067 MB / 0.9561 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/1.27, allocations: 0.9395 MB / 0.957 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/1.27, allocations: 6.562 kB / 0.957 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002215/1.272, allocations: 1.06 MB / 0.958 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.272, allocations: 15.22 kB / 0.958 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.272, allocations: 14.44 kB / 0.958 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.272, allocations: 16.25 kB / 0.9581 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/1.273, allocations: 208.5 kB / 0.9583 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/1.273, allocations: 25.25 kB / 0.9583 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.274, allocations: 139.2 kB / 0.9584 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/1.274, allocations: 45.91 kB / 0.9585 GB, free: 5.844 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.0003188/1.275, allocations: 237.5 kB / 0.9587 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/1.275, allocations: 143.4 kB / 0.9588 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.276, allocations: 0.6471 MB / 0.9595 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.277, allocations: 2.438 kB / 0.9595 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.277, allocations: 3 kB / 0.9595 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.277, allocations: 3.984 kB / 0.9595 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/1.28, allocations: 1.891 MB / 0.9613 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/1.28, allocations: 6.281 kB / 0.9613 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/1.28, allocations: 90.11 kB / 0.9614 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.28, allocations: 6.344 kB / 0.9614 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/1.28, allocations: 20.23 kB / 0.9614 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.28, allocations: 6 kB / 0.9614 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.28, allocations: 4.781 kB / 0.9614 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.282, allocations: 0.8041 MB / 0.9622 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/1.283, allocations: 302.8 kB / 0.9625 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.283, allocations: 16.98 kB / 0.9625 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.284, allocations: 63.67 kB / 0.9626 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/1.284, allocations: 33.12 kB / 0.9626 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/1.284, allocations: 23.98 kB / 0.9626 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00159/1.286, allocations: 1.006 MB / 0.9636 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/1.286, allocations: 0 / 0.9636 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002024/1.288, allocations: 0.576 MB / 0.9642 GB, free: 3.066 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.0005852/1.288, allocations: 272.3 kB / 0.9644 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002717/1.291, allocations: 1.135 MB / 0.9656 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.291, allocations: 0 / 0.9656 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/1.292, allocations: 257.4 kB / 0.9658 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/1.295, allocations: 0.7301 MB / 0.9665 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/1.3, allocations: 2.26 MB / 0.9687 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/1.301, allocations: 1.187 MB / 0.9699 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001457/1.302, allocations: 383.5 kB / 0.9702 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.302, allocations: 99.41 kB / 0.9703 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/1.302, allocations: 0 / 0.9703 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.04406/1.346, allocations: 25.16 MB / 0.9949 GB, free: 6.465 MB / 0.7325 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)