Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 100.7 kB / 16.26 MB, free: 5.93 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.002141/0.002141, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8665/0.8665, allocations: 125.4 MB / 416.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.89 kB / 0.4941 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4095, allocations: 78.56 MB / 0.5709 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1826/0.5921, allocations: 161.5 MB / 0.7286 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003548/0.5957, allocations: 1.71 MB / 0.7302 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.5961, allocations: 11.94 kB / 0.7303 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.5968, allocations: 166.9 kB / 0.7304 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.5985, allocations: 0.5056 MB / 0.7309 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.6, allocations: 415.1 kB / 0.7313 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.601, allocations: 0.5693 MB / 0.7319 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.6014, allocations: 176.5 kB / 0.732 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.6026, allocations: 470.2 kB / 0.7325 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.6029, allocations: 147.3 kB / 0.7326 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.6029, allocations: 15.94 kB / 0.7326 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.6042, allocations: 0.6899 MB / 0.7333 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.6044, allocations: 71.8 kB / 0.7334 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.6046, allocations: 127.3 kB / 0.7335 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008412/0.6054, allocations: 490.7 kB / 0.734 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6054, allocations: 3.938 kB / 0.734 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6054, allocations: 0 / 0.734 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.6055, allocations: 0 / 0.734 GB, free: 15.98 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009797/0.6064, allocations: 0.5838 MB / 0.7345 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6065, allocations: 11.97 kB / 0.7346 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.6069, allocations: 63.52 kB / 0.7346 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.6073, allocations: 285.4 kB / 0.7349 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.6073, allocations: 8 kB / 0.7349 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.6073, allocations: 19.94 kB / 0.7349 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.6077, allocations: 188.1 kB / 0.7351 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6078, allocations: 0 / 0.7351 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.6078, allocations: 4 kB / 0.7351 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6078, allocations: 4 kB / 0.7351 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.6081, allocations: 143.7 kB / 0.7352 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6093, allocations: 0.7809 MB / 0.736 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.6095, allocations: 82.47 kB / 0.7361 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.6097, allocations: 80.88 kB / 0.7362 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.6102, allocations: 182.2 kB / 0.7363 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.6102, allocations: 42.5 kB / 0.7364 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.6102, allocations: 0 / 0.7364 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006818/0.6109, allocations: 217.2 kB / 0.7366 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.611, allocations: 55.41 kB / 0.7366 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.6113, allocations: 271 kB / 0.7369 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.6113, allocations: 29.7 kB / 0.7369 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6114, allocations: 144 kB / 0.7371 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.6115, allocations: 35.41 kB / 0.7371 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.6115, allocations: 37.64 kB / 0.7371 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6117, allocations: 334.8 kB / 0.7374 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.6118, allocations: 48.83 kB / 0.7375 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.612, allocations: 85.11 kB / 0.7376 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.6123, allocations: 123.3 kB / 0.7377 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6123, allocations: 0 / 0.7377 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000354/0.6127, allocations: 161.3 kB / 0.7378 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6127, allocations: 7.938 kB / 0.7378 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.6127, allocations: 4 kB / 0.7379 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6127, allocations: 4.031 kB / 0.7379 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.6128, allocations: 27.92 kB / 0.7379 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.6129, allocations: 7.984 kB / 0.7379 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.613, allocations: 15.89 kB / 0.7379 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.6131, allocations: 4 kB / 0.7379 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002152/0.6133, allocations: 148.1 kB / 0.7381 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001686/0.6135, allocations: 93.67 kB / 0.7381 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002518/0.6137, allocations: 119.3 kB / 0.7383 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/0.6137, allocations: 4 kB / 0.7383 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003325/0.6141, allocations: 149.3 kB / 0.7384 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6141, allocations: 8 kB / 0.7384 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6141, allocations: 4.062 kB / 0.7384 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/0.6141, allocations: 192 / 0.7384 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6142, allocations: 23.98 kB / 0.7384 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6142, allocations: 7.938 kB / 0.7384 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.6144, allocations: 27.81 kB / 0.7385 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.6144, allocations: 4 kB / 0.7385 GB, free: 11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001259/0.6146, allocations: 193.1 kB / 0.7387 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.6146, allocations: 27.66 kB / 0.7387 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.615, allocations: 159.3 kB / 0.7388 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.615, allocations: 0 / 0.7388 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.615, allocations: 0 / 0.7388 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.615, allocations: 4 kB / 0.7388 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.616, allocations: 0.59 MB / 0.7394 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.616, allocations: 224 / 0.7394 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.6161, allocations: 27.97 kB / 0.7394 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6161, allocations: 7.984 kB / 0.7394 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.6161, allocations: 4 kB / 0.7395 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.6161, allocations: 3.938 kB / 0.7395 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6161, allocations: 4 kB / 0.7395 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.6165, allocations: 297.1 kB / 0.7397 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6167, allocations: 116.8 kB / 0.7399 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.6167, allocations: 0 / 0.7399 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.6169, allocations: 15.98 kB / 0.7399 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.617, allocations: 23.86 kB / 0.7399 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.617, allocations: 4 kB / 0.7399 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001967/0.6172, allocations: 197.9 kB / 0.7401 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6172, allocations: 0 / 0.7401 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004534/0.6176, allocations: 87.84 kB / 0.7402 GB, free: 9.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0004498/0.6181, allocations: 174.3 kB / 0.7403 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.6186, allocations: 171.7 kB / 0.7405 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6186, allocations: 0 / 0.7405 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.6188, allocations: 56.47 kB / 0.7406 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.6195, allocations: 127.8 kB / 0.7407 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.6203, allocations: 429 kB / 0.7411 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.6207, allocations: 0.7635 MB / 0.7418 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.621, allocations: 61.89 kB / 0.7419 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.621, allocations: 19.44 kB / 0.7419 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.621, allocations: 4 kB / 0.7419 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of Templates: time 0.009917/0.631, allocations: 4.371 MB / 0.7462 GB, free: 2.973 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)