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.00165/0.00165, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.00189/0.00189, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.771/0.771, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.02 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5871/0.7513, allocations: 161.5 MB / 0.7904 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.7545, allocations: 1.721 MB / 0.7921 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.7549, allocations: 10.94 kB / 0.7921 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.7555, allocations: 152.5 kB / 0.7923 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.757, allocations: 0.5132 MB / 0.7928 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.7581, allocations: 422.1 kB / 0.7932 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.759, allocations: 0.5668 MB / 0.7937 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.7593, allocations: 185.9 kB / 0.7939 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.76, allocations: 322.2 kB / 0.7942 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.7603, allocations: 155.1 kB / 0.7943 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.7603, allocations: 12.19 kB / 0.7944 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.7616, allocations: 0.6913 MB / 0.795 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.7617, allocations: 86.48 kB / 0.7951 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.7619, allocations: 116 kB / 0.7952 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008148/0.7627, allocations: 0.4946 MB / 0.7957 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7627, allocations: 3.312 kB / 0.7957 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7627, allocations: 0 / 0.7957 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.7627, allocations: 0 / 0.7957 GB, free: 12.78 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008399/0.7636, allocations: 0.5743 MB / 0.7963 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7636, allocations: 10.03 kB / 0.7963 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.764, allocations: 64.8 kB / 0.7963 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.7645, allocations: 305.9 kB / 0.7966 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7645, allocations: 12.03 kB / 0.7966 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.7645, allocations: 13.94 kB / 0.7967 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.7649, allocations: 195.1 kB / 0.7968 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7649, allocations: 3.938 kB / 0.7968 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.7649, allocations: 6 kB / 0.7969 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7649, allocations: 3.469 kB / 0.7969 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.7652, allocations: 130.3 kB / 0.797 GB, free: 11.98 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.0009861/0.7662, allocations: 0.7824 MB / 0.7977 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.7665, allocations: 80.78 kB / 0.7978 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.7667, allocations: 73.91 kB / 0.7979 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.767, allocations: 195 kB / 0.7981 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.767, allocations: 34.25 kB / 0.7981 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.767, allocations: 0 / 0.7981 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006654/0.7677, allocations: 220 kB / 0.7983 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.7678, allocations: 54.06 kB / 0.7984 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.768, allocations: 269 kB / 0.7986 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.768, allocations: 28.08 kB / 0.7987 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.7681, allocations: 141.2 kB / 0.7988 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.7682, allocations: 37.81 kB / 0.7988 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.7682, allocations: 32.53 kB / 0.7989 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7684, allocations: 333.1 kB / 0.7992 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.7685, allocations: 48.41 kB / 0.7992 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.7687, allocations: 95.89 kB / 0.7993 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.7689, allocations: 120.5 kB / 0.7994 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7689, allocations: 4 kB / 0.7994 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003352/0.7693, allocations: 159.9 kB / 0.7996 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7693, allocations: 5.031 kB / 0.7996 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7693, allocations: 0 / 0.7996 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7693, allocations: 6.406 kB / 0.7996 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7695, allocations: 27.22 kB / 0.7996 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7695, allocations: 0 / 0.7996 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.7697, allocations: 20.86 kB / 0.7996 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.7697, allocations: 4.844 kB / 0.7996 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001991/0.7699, allocations: 149.3 kB / 0.7998 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001536/0.7701, allocations: 94.17 kB / 0.7999 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002305/0.7703, allocations: 118.5 kB / 0.8 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.7703, allocations: 2.531 kB / 0.8 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002826/0.7706, allocations: 159.2 kB / 0.8001 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.7706, allocations: 4.281 kB / 0.8001 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.7706, allocations: 0 / 0.8001 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-06/0.7706, allocations: 2.875 kB / 0.8001 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.7707, allocations: 30.84 kB / 0.8002 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.7707, allocations: 6.344 kB / 0.8002 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.7709, allocations: 18.34 kB / 0.8002 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.7709, allocations: 8.531 kB / 0.8002 GB, free: 10.08 MB / 0.5919 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 9.911e-05/0.771, allocations: 182.7 kB / 0.8004 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.7711, allocations: 24.69 kB / 0.8004 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.7715, allocations: 162.7 kB / 0.8006 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7715, allocations: 3.938 kB / 0.8006 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7715, allocations: 0 / 0.8006 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7715, allocations: 2.656 kB / 0.8006 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/0.7723, allocations: 0.5907 MB / 0.8011 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7723, allocations: 2.844 kB / 0.8011 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.7724, allocations: 26.31 kB / 0.8012 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7724, allocations: 2.938 kB / 0.8012 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.7724, allocations: 5.844 kB / 0.8012 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7724, allocations: 1.781 kB / 0.8012 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7724, allocations: 6.781 kB / 0.8012 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.7728, allocations: 305.5 kB / 0.8015 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.7729, allocations: 113.2 kB / 0.8016 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.7729, allocations: 6.469 kB / 0.8016 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.7731, allocations: 11.05 kB / 0.8016 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.7732, allocations: 22.42 kB / 0.8016 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.7732, allocations: 4.75 kB / 0.8016 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001715/0.7734, allocations: 193.9 kB / 0.8018 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7734, allocations: 1.875 kB / 0.8018 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000448/0.7739, allocations: 94.94 kB / 0.8019 GB, free: 9.035 MB / 0.5919 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.0003844/0.7742, allocations: 171.1 kB / 0.8021 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.7747, allocations: 166.4 kB / 0.8022 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7747, allocations: 0 / 0.8022 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7749, allocations: 65.86 kB / 0.8023 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.7756, allocations: 110.2 kB / 0.8024 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.7762, allocations: 461.2 kB / 0.8028 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.7765, allocations: 0.7528 MB / 0.8036 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.7766, allocations: 22.16 kB / 0.8036 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.7766, allocations: 0 / 0.8036 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of Templates: time 0.005888/0.7825, allocations: 3.729 MB / 0.8072 GB, free: 6.324 MB / 0.5919 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)