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.007896/0.007896, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.002043/0.002043, allocations: 196.5 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9834/0.9834, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 0.5862 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.415, allocations: 81.02 MB / 0.6653 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.7827/1.198, allocations: 237.5 MB / 0.8973 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02333/1.221, allocations: 15.77 MB / 0.9127 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/1.225, allocations: 60.09 kB / 0.9128 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003495/1.229, allocations: 1.036 MB / 0.9138 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009367/1.238, allocations: 2.961 MB / 0.9167 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005335/1.243, allocations: 1.697 MB / 0.9183 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00602/1.249, allocations: 3.435 MB / 0.9217 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/1.251, allocations: 1.289 MB / 0.9229 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007558/1.259, allocations: 2.498 MB / 0.9254 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/1.262, allocations: 1.085 MB / 0.9264 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007116/1.263, allocations: 119.5 kB / 0.9265 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007768/1.271, allocations: 3.092 MB / 0.9296 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009206/1.271, allocations: 477.7 kB / 0.93 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002224/1.274, allocations: 0.8118 MB / 0.9308 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008793/1.283, allocations: 2.997 MB / 0.9337 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.283, allocations: 2.156 kB / 0.9337 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.675e-06/1.283, allocations: 0 / 0.9337 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.92e-05/1.283, allocations: 4.938 kB / 0.9337 GB, free: 0.5078 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.005467/1.288, allocations: 2.064 MB / 0.9358 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.288, allocations: 10.09 kB / 0.9358 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/1.291, allocations: 0.5109 MB / 0.9363 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/1.294, allocations: 1.179 MB / 0.9374 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/1.294, allocations: 78.84 kB / 0.9375 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.294, allocations: 100.2 kB / 0.9376 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/1.296, allocations: 1.355 MB / 0.9389 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.296, allocations: 6.281 kB / 0.9389 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/1.296, allocations: 38.75 kB / 0.939 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/1.296, allocations: 52.58 kB / 0.939 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/1.299, allocations: 1.048 MB / 0.94 GB, free: 14.53 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.007946/1.307, allocations: 7.406 MB / 0.9473 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/1.308, allocations: 0.5371 MB / 0.9478 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/1.309, allocations: 263.6 kB / 0.948 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/1.309, allocations: 280.8 kB / 0.9483 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.309, allocations: 41.89 kB / 0.9483 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/1.309, allocations: 0 / 0.9483 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002281/1.311, allocations: 0.8384 MB / 0.9492 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.311, allocations: 56.66 kB / 0.9492 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.313, allocations: 1.393 MB / 0.9506 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/1.313, allocations: 37.64 kB / 0.9506 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/1.314, allocations: 0.7196 MB / 0.9513 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/1.314, allocations: 122.3 kB / 0.9514 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/1.314, allocations: 174.3 kB / 0.9516 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.314, allocations: 338.6 kB / 0.9519 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008427/1.315, allocations: 318.9 kB / 0.9522 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/1.316, allocations: 0.7143 MB / 0.9529 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/1.318, allocations: 0.9407 MB / 0.9538 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.318, allocations: 4.594 kB / 0.9539 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002255/1.32, allocations: 1.074 MB / 0.9549 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.321, allocations: 14.62 kB / 0.9549 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.321, allocations: 11.62 kB / 0.9549 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.321, allocations: 15.88 kB / 0.9549 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/1.321, allocations: 214 kB / 0.9551 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/1.321, allocations: 24.45 kB / 0.9552 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.323, allocations: 184.3 kB / 0.9553 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/1.323, allocations: 46.27 kB / 0.9554 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/1.324, allocations: 0.5724 MB / 0.9559 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001109/1.325, allocations: 0.7104 MB / 0.9566 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001743/1.327, allocations: 0.9409 MB / 0.9576 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.967e-06/1.327, allocations: 8.859 kB / 0.9576 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002216/1.329, allocations: 1.071 MB / 0.9586 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.329, allocations: 11.73 kB / 0.9586 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.329, allocations: 12.25 kB / 0.9586 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.329, allocations: 16.78 kB / 0.9587 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/1.33, allocations: 212 kB / 0.9589 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.33, allocations: 23.05 kB / 0.9589 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.331, allocations: 140.7 kB / 0.959 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/1.331, allocations: 48.27 kB / 0.9591 GB, free: 5.633 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.0002806/1.332, allocations: 239.1 kB / 0.9593 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.332, allocations: 145 kB / 0.9594 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/1.334, allocations: 0.641 MB / 0.96 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.334, allocations: 6.688 kB / 0.9601 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.334, allocations: 2.625 kB / 0.9601 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.334, allocations: 0 / 0.9601 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/1.337, allocations: 1.887 MB / 0.9619 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.337, allocations: 2.969 kB / 0.9619 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/1.338, allocations: 94.3 kB / 0.962 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.338, allocations: 9.484 kB / 0.962 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/1.338, allocations: 8.219 kB / 0.962 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/1.338, allocations: 9.469 kB / 0.962 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.338, allocations: 8.656 kB / 0.962 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.339, allocations: 0.8167 MB / 0.9628 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/1.34, allocations: 307.3 kB / 0.9631 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/1.34, allocations: 11.84 kB / 0.9631 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/1.341, allocations: 71.67 kB / 0.9632 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/1.341, allocations: 30.91 kB / 0.9632 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/1.341, allocations: 26.69 kB / 0.9633 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001523/1.343, allocations: 1.007 MB / 0.9642 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/1.343, allocations: 0 / 0.9642 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001764/1.345, allocations: 0.5792 MB / 0.9648 GB, free: 2.793 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.0006588/1.345, allocations: 267.3 kB / 0.9651 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002982/1.348, allocations: 1.147 MB / 0.9662 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.348, allocations: 0 / 0.9662 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/1.349, allocations: 252.5 kB / 0.9664 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.352, allocations: 0.7375 MB / 0.9671 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/1.357, allocations: 2.28 MB / 0.9694 GB, free: 312 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/1.358, allocations: 1.183 MB / 0.9705 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001556/1.36, allocations: 391.8 kB / 0.9709 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/1.36, allocations: 99.42 kB / 0.971 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of SimCode: time 1.322e-06/1.36, allocations: 0 / 0.971 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.04773/1.408, allocations: 25.16 MB / 0.9956 GB, free: 6.133 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)