Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 111 kB / 17.33 MB, free: 5.043 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.001426/0.001426, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.492/1.492, allocations: 225.6 MB / 244.8 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8966/0.8966, allocations: 128.4 MB / 426.1 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.97 kB / 0.5911 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2197, allocations: 83.26 MB / 0.6725 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01969/0.2394, allocations: 15.16 MB / 0.6873 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006549/0.246, allocations: 3.899 MB / 0.6911 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.2466, allocations: 19.88 kB / 0.6911 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.2472, allocations: 202.6 kB / 0.6913 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.2492, allocations: 0.692 MB / 0.692 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2507, allocations: 488.7 kB / 0.6924 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.2524, allocations: 1.076 MB / 0.6935 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.2528, allocations: 249.5 kB / 0.6937 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009711/0.2538, allocations: 474.2 kB / 0.6942 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.2541, allocations: 270.7 kB / 0.6944 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.2542, allocations: 20 kB / 0.6944 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.2555, allocations: 0.7212 MB / 0.6952 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2557, allocations: 75.69 kB / 0.6952 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.2559, allocations: 190.9 kB / 0.6954 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.257, allocations: 0.7161 MB / 0.6961 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.257, allocations: 0 / 0.6961 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.257, allocations: 0 / 0.6961 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.257, allocations: 0 / 0.6961 GB, free: 11.76 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00134/0.2584, allocations: 0.7621 MB / 0.6968 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.2584, allocations: 16.03 kB / 0.6969 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2585, allocations: 44.66 kB / 0.6969 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2596, allocations: 0.5131 MB / 0.6974 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2596, allocations: 12.33 kB / 0.6974 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.2597, allocations: 20 kB / 0.6974 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.2601, allocations: 180.2 kB / 0.6976 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2601, allocations: 0 / 0.6976 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2602, allocations: 4 kB / 0.6976 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2602, allocations: 4 kB / 0.6976 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.2605, allocations: 136.2 kB / 0.6977 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2618, allocations: 0.8646 MB / 0.6986 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.2621, allocations: 114.6 kB / 0.6987 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2622, allocations: 68.75 kB / 0.6988 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.2626, allocations: 336.4 kB / 0.6991 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2626, allocations: 42.55 kB / 0.6991 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2626, allocations: 0 / 0.6991 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.00062/0.2632, allocations: 221.2 kB / 0.6993 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2633, allocations: 51.41 kB / 0.6994 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.2637, allocations: 349.7 kB / 0.6997 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2638, allocations: 33.64 kB / 0.6998 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2639, allocations: 188.4 kB / 0.6999 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.264, allocations: 47.62 kB / 0.7 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.264, allocations: 37.7 kB / 0.7 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2642, allocations: 346.8 kB / 0.7003 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2644, allocations: 52.77 kB / 0.7004 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.2646, allocations: 96.25 kB / 0.7005 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.2648, allocations: 117.6 kB / 0.7006 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2648, allocations: 0 / 0.7006 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003816/0.2652, allocations: 181.3 kB / 0.7008 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2652, allocations: 4 kB / 0.7008 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2652, allocations: 0 / 0.7008 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2652, allocations: 4 kB / 0.7008 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2654, allocations: 35.91 kB / 0.7008 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2654, allocations: 0 / 0.7008 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2656, allocations: 19.88 kB / 0.7008 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2656, allocations: 4 kB / 0.7008 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002257/0.2659, allocations: 160.1 kB / 0.701 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001645/0.266, allocations: 88.23 kB / 0.7011 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002456/0.2663, allocations: 117.6 kB / 0.7012 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-06/0.2663, allocations: 3.984 kB / 0.7012 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003577/0.2666, allocations: 173.3 kB / 0.7014 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.2666, allocations: 8 kB / 0.7014 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.2666, allocations: 0 / 0.7014 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-06/0.2666, allocations: 0 / 0.7014 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2667, allocations: 23.98 kB / 0.7014 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/0.2668, allocations: 0 / 0.7014 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.2669, allocations: 27.86 kB / 0.7014 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2669, allocations: 8 kB / 0.7014 GB, free: 5.902 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.000147/0.2671, allocations: 184.3 kB / 0.7016 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.2672, allocations: 39.7 kB / 0.7016 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.2677, allocations: 231.2 kB / 0.7019 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.2677, allocations: 4.078 kB / 0.7019 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2677, allocations: 0 / 0.7019 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2677, allocations: 4 kB / 0.7019 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.2687, allocations: 0.6374 MB / 0.7025 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2687, allocations: 3.938 kB / 0.7025 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2688, allocations: 27.92 kB / 0.7025 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2688, allocations: 0 / 0.7025 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2688, allocations: 8 kB / 0.7025 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2688, allocations: 4.094 kB / 0.7025 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2689, allocations: 4 kB / 0.7025 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.2693, allocations: 309.8 kB / 0.7028 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.2695, allocations: 140.7 kB / 0.703 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.2695, allocations: 8.047 kB / 0.703 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2697, allocations: 15.98 kB / 0.703 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.2698, allocations: 11.92 kB / 0.703 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2698, allocations: 8 kB / 0.703 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002626/0.27, allocations: 247.2 kB / 0.7032 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.27, allocations: 0 / 0.7032 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006324/0.2707, allocations: 191.5 kB / 0.7034 GB, free: 3.738 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006073/0.2713, allocations: 258.8 kB / 0.7037 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.2718, allocations: 183.8 kB / 0.7038 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2718, allocations: 4 kB / 0.7038 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.272, allocations: 79.88 kB / 0.7039 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.2728, allocations: 139.6 kB / 0.7041 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.2738, allocations: 0.5626 MB / 0.7046 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.2742, allocations: 0.7918 MB / 0.7054 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.2744, allocations: 75.09 kB / 0.7054 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.2745, allocations: 31.44 kB / 0.7055 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.2745, allocations: 0 / 0.7055 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of Templates: time 0.01409/0.2886, allocations: 6.669 MB / 0.712 GB, free: 10.99 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480]