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.001301/0.001301, allocations: 110.2 kB / 17.08 MB, free: 5.988 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.001315/0.001315, allocations: 195 kB / 18.01 MB, free: 5.074 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.317/1.317, 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.7091/0.7091, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.42 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.153, allocations: 76.17 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5782/0.7312, allocations: 161.5 MB / 0.7904 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.7342, allocations: 1.716 MB / 0.7921 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.7346, allocations: 10.81 kB / 0.7921 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005721/0.7352, allocations: 151.2 kB / 0.7923 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.7367, allocations: 0.508 MB / 0.7927 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.738, allocations: 422.9 kB / 0.7932 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.7388, allocations: 0.5714 MB / 0.7937 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.7392, allocations: 180.8 kB / 0.7939 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/0.7398, allocations: 319.5 kB / 0.7942 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.7401, allocations: 151.4 kB / 0.7943 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.7401, allocations: 12.38 kB / 0.7943 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.7413, allocations: 0.6925 MB / 0.795 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.7415, allocations: 87.17 kB / 0.7951 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.7416, allocations: 115.9 kB / 0.7952 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007931/0.7424, allocations: 0.4991 MB / 0.7957 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7424, allocations: 0 / 0.7957 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7424, allocations: 2.484 kB / 0.7957 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.7424, allocations: 0 / 0.7957 GB, free: 12.79 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.0008534/0.7433, allocations: 0.5753 MB / 0.7963 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7433, allocations: 10 kB / 0.7963 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.7437, allocations: 59.08 kB / 0.7963 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.7442, allocations: 301.9 kB / 0.7966 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7442, allocations: 13.5 kB / 0.7966 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.7442, allocations: 17.73 kB / 0.7966 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.7446, allocations: 197.7 kB / 0.7968 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7446, allocations: 3.938 kB / 0.7968 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.7446, allocations: 5.75 kB / 0.7968 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.7447, allocations: 3.469 kB / 0.7968 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.7449, allocations: 124.9 kB / 0.797 GB, free: 12 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.0009731/0.7459, allocations: 0.7815 MB / 0.7977 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.7462, allocations: 88.11 kB / 0.7978 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.7463, allocations: 76.06 kB / 0.7979 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.7466, allocations: 195 kB / 0.7981 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7466, allocations: 30.56 kB / 0.7981 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 3.126e-06/0.7467, allocations: 4 kB / 0.7981 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006335/0.7473, allocations: 219.4 kB / 0.7983 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.7474, allocations: 52.97 kB / 0.7984 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.7476, allocations: 267.5 kB / 0.7986 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.7476, allocations: 28.83 kB / 0.7986 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.7477, allocations: 138.5 kB / 0.7988 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.7478, allocations: 49.67 kB / 0.7988 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.7478, allocations: 29.48 kB / 0.7989 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7479, allocations: 331.8 kB / 0.7992 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.7481, allocations: 46.41 kB / 0.7992 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.7482, allocations: 98.92 kB / 0.7993 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.7485, allocations: 115.3 kB / 0.7994 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7485, allocations: 0 / 0.7994 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000329/0.7488, allocations: 170.5 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7489, allocations: 2.375 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.7489, allocations: 4.828 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.7489, allocations: 6.406 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.749, allocations: 18.06 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.749, allocations: 4.906 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.7492, allocations: 13.81 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.7492, allocations: 8.844 kB / 0.7996 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001838/0.7494, allocations: 150.7 kB / 0.7998 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001437/0.7496, allocations: 90.27 kB / 0.7999 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002261/0.7498, allocations: 115.2 kB / 0.8 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.81e-07/0.7498, allocations: 6.75 kB / 0.8 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000306/0.7501, allocations: 153.7 kB / 0.8001 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.7501, allocations: 5.5 kB / 0.8001 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.7501, allocations: 6.062 kB / 0.8001 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-06/0.7502, allocations: 2.906 kB / 0.8001 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.7503, allocations: 28.2 kB / 0.8002 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.7503, allocations: 5.656 kB / 0.8002 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.7504, allocations: 26.08 kB / 0.8002 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.7505, allocations: 2.656 kB / 0.8002 GB, free: 10.1 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.847e-05/0.7506, allocations: 190.9 kB / 0.8004 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.7506, allocations: 21.78 kB / 0.8004 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.751, allocations: 160.8 kB / 0.8006 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.751, allocations: 6.469 kB / 0.8006 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.751, allocations: 7.984 kB / 0.8006 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.751, allocations: 2.578 kB / 0.8006 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.7519, allocations: 0.5857 MB / 0.8012 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7519, allocations: 5.016 kB / 0.8012 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.752, allocations: 27.25 kB / 0.8012 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.752, allocations: 2.625 kB / 0.8012 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.752, allocations: 2.719 kB / 0.8012 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.752, allocations: 4.938 kB / 0.8012 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7521, allocations: 2.625 kB / 0.8012 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.7524, allocations: 303.8 kB / 0.8015 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.7526, allocations: 113.6 kB / 0.8016 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.7526, allocations: 7.266 kB / 0.8016 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.7528, allocations: 11.23 kB / 0.8016 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.7529, allocations: 16.77 kB / 0.8016 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.7529, allocations: 6.094 kB / 0.8016 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000176/0.7531, allocations: 195.5 kB / 0.8018 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7531, allocations: 6.562 kB / 0.8018 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004704/0.7536, allocations: 90.59 kB / 0.8019 GB, free: 9.051 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.0004039/0.754, allocations: 171.4 kB / 0.8021 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.7544, allocations: 161.9 kB / 0.8022 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7544, allocations: 2.375 kB / 0.8022 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7546, allocations: 71.12 kB / 0.8023 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.7553, allocations: 116.5 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.0007093/0.756, allocations: 467.2 kB / 0.8029 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.7563, allocations: 0.7543 MB / 0.8036 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.7564, allocations: 20.06 kB / 0.8036 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.7564, allocations: 2.531 kB / 0.8036 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of Templates: time 0.005873/0.7623, allocations: 3.75 MB / 0.8073 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)