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.000805/0.000805, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001056, allocations: 173.1 kB / 16.58 MB, free: 6.797 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.412/1.412, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.721/0.721, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 8.625 kB / 495.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4976/0.6765, allocations: 146.6 MB / 0.7025 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.6795, allocations: 1.607 MB / 0.7041 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.6798, allocations: 7.938 kB / 0.7041 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.6803, allocations: 115.2 kB / 0.7042 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.6814, allocations: 378.2 kB / 0.7046 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.6824, allocations: 362.2 kB / 0.7049 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008381/0.6833, allocations: 0.6551 MB / 0.7055 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.6836, allocations: 124.5 kB / 0.7057 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.6842, allocations: 270.8 kB / 0.7059 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.6844, allocations: 151.4 kB / 0.7061 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.6844, allocations: 11.94 kB / 0.7061 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.6854, allocations: 0.5223 MB / 0.7066 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.6855, allocations: 79.72 kB / 0.7067 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.6856, allocations: 65.58 kB / 0.7067 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.6861, allocations: 327.2 kB / 0.707 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6861, allocations: 4 kB / 0.707 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6861, allocations: 0 / 0.707 GB, free: 116 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.6861, allocations: 0 / 0.707 GB, free: 116 kB / 0.5137 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.0008194/0.687, allocations: 0.5417 MB / 0.7076 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.687, allocations: 12.03 kB / 0.7076 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.6873, allocations: 55.66 kB / 0.7076 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.6877, allocations: 273.5 kB / 0.7079 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.6877, allocations: 19.98 kB / 0.7079 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.6878, allocations: 12 kB / 0.7079 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.6882, allocations: 200.1 kB / 0.7081 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6882, allocations: 3.953 kB / 0.7081 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.6882, allocations: 8 kB / 0.7081 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6882, allocations: 4 kB / 0.7081 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.6885, allocations: 135.9 kB / 0.7083 GB, free: 14.76 MB / 0.5294 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.001049/0.6896, allocations: 0.7847 MB / 0.709 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.6899, allocations: 94.47 kB / 0.7091 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.69, allocations: 84.86 kB / 0.7092 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.6903, allocations: 178.2 kB / 0.7094 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6904, allocations: 50.5 kB / 0.7094 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.6904, allocations: 0 / 0.7094 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0006604/0.6911, allocations: 233.2 kB / 0.7096 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.6911, allocations: 51.41 kB / 0.7097 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.6914, allocations: 263 kB / 0.7099 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6914, allocations: 33.7 kB / 0.71 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.6916, allocations: 143.9 kB / 0.7101 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.6916, allocations: 35.48 kB / 0.7101 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.6916, allocations: 0 / 0.7101 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6918, allocations: 338.8 kB / 0.7105 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.6919, allocations: 43.97 kB / 0.7105 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.6921, allocations: 97.05 kB / 0.7106 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.6923, allocations: 59.94 kB / 0.7107 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6923, allocations: 3.938 kB / 0.7107 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000355/0.6926, allocations: 165.3 kB / 0.7108 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.862e-05/0.6927, allocations: 119.5 kB / 0.7109 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6928, allocations: 0 / 0.7109 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6928, allocations: 7.938 kB / 0.7109 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.6929, allocations: 23.98 kB / 0.711 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6929, allocations: 4 kB / 0.711 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.6932, allocations: 24.77 kB / 0.711 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.6932, allocations: 4 kB / 0.711 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.6932, allocations: 5.875 kB / 0.711 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00027/0.6935, allocations: 123.8 kB / 0.7111 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.6935, allocations: 0 / 0.7111 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.6935, allocations: 4 kB / 0.7111 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.6936, allocations: 23.98 kB / 0.7111 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.6936, allocations: 0 / 0.7111 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.6938, allocations: 34.69 kB / 0.7112 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.6938, allocations: 8 kB / 0.7112 GB, free: 11.56 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.694, allocations: 213.1 kB / 0.7114 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.6941, allocations: 24.28 kB / 0.7114 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.6945, allocations: 175.2 kB / 0.7116 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6945, allocations: 4 kB / 0.7116 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6945, allocations: 3.984 kB / 0.7116 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.6945, allocations: 3.953 kB / 0.7116 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.6954, allocations: 0.594 MB / 0.7122 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6955, allocations: 8.172 kB / 0.7122 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.6956, allocations: 27.98 kB / 0.7122 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6956, allocations: 48 / 0.7122 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.6956, allocations: 11.98 kB / 0.7122 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6956, allocations: 7.938 kB / 0.7122 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6956, allocations: 0 / 0.7122 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.6961, allocations: 305.1 kB / 0.7125 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.6962, allocations: 112.8 kB / 0.7126 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.6962, allocations: 11.98 kB / 0.7126 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6964, allocations: 15.98 kB / 0.7126 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.6965, allocations: 11.98 kB / 0.7127 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.6965, allocations: 11.94 kB / 0.7127 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000214/0.6967, allocations: 197.9 kB / 0.7129 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6967, allocations: 0 / 0.7129 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005127/0.6972, allocations: 95.83 kB / 0.713 GB, free: 9.594 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004885/0.6977, allocations: 163.9 kB / 0.7131 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.6983, allocations: 175.8 kB / 0.7133 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6983, allocations: 192 / 0.7133 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.6984, allocations: 72.39 kB / 0.7133 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/0.6993, allocations: 138 kB / 0.7135 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.7001, allocations: 0.49 MB / 0.714 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.7004, allocations: 0.7598 MB / 0.7147 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.7007, allocations: 74.22 kB / 0.7148 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.7007, allocations: 19.44 kB / 0.7148 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.7007, allocations: 0 / 0.7148 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of Templates: time 0.008492/0.7092, allocations: 4.118 MB / 0.7188 GB, free: 3.617 MB / 0.5294 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)