Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7197/0.7197, allocations: 128.7 MB / 144.5 MB, free: 1.406 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 196.7 kB / 174.3 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205 MB / 408.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 102 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009752/0.0009753, allocations: 54.8 kB / 0.558 GB, free: 97.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1222, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4516/0.5738, allocations: 168.7 MB / 0.7964 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.5771, allocations: 1.737 MB / 0.7981 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.5777, allocations: 8.812 kB / 0.7981 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.5784, allocations: 129.4 kB / 0.7982 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.5799, allocations: 496.5 kB / 0.7987 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.5809, allocations: 311.4 kB / 0.799 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.5822, allocations: 0.8181 MB / 0.7998 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.5826, allocations: 157.9 kB / 0.7999 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.5832, allocations: 298.7 kB / 0.8002 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.5834, allocations: 172.4 kB / 0.8004 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.5835, allocations: 8.312 kB / 0.8004 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.5849, allocations: 0.7728 MB / 0.8012 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.585, allocations: 75.59 kB / 0.8012 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.5852, allocations: 105.7 kB / 0.8013 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.586, allocations: 0.5119 MB / 0.8018 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.586, allocations: 0 / 0.8018 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.586, allocations: 0 / 0.8018 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.586, allocations: 0 / 0.8018 GB, free: 11.69 MB / 0.5261 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.0008584/0.5869, allocations: 0.5725 MB / 0.8024 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5869, allocations: 12.62 kB / 0.8024 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.5872, allocations: 55.45 kB / 0.8024 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.5876, allocations: 277.2 kB / 0.8027 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5876, allocations: 17.38 kB / 0.8027 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.5877, allocations: 13.09 kB / 0.8027 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.5883, allocations: 203.7 kB / 0.8029 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5884, allocations: 4 kB / 0.8029 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.5884, allocations: 4.656 kB / 0.8029 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5884, allocations: 3.406 kB / 0.8029 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.589, allocations: 188.2 kB / 0.8031 GB, free: 10.78 MB / 0.5261 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.0008736/0.5899, allocations: 0.6151 MB / 0.8037 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.5905, allocations: 153.1 kB / 0.8039 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5907, allocations: 76.48 kB / 0.8039 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.591, allocations: 186.3 kB / 0.8041 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5911, allocations: 39.62 kB / 0.8042 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.5911, allocations: 0 / 0.8042 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.001281/0.5924, allocations: 307.8 kB / 0.8045 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.5924, allocations: 53.03 kB / 0.8045 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.5927, allocations: 263.5 kB / 0.8048 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.5928, allocations: 26.55 kB / 0.8048 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5929, allocations: 150.2 kB / 0.8049 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.5929, allocations: 30.83 kB / 0.805 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.593, allocations: 26.47 kB / 0.805 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5932, allocations: 342 kB / 0.8053 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.5934, allocations: 58.91 kB / 0.8054 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.5936, allocations: 97.7 kB / 0.8055 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.594, allocations: 139.8 kB / 0.8056 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.594, allocations: 0 / 0.8056 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000473/0.5945, allocations: 187.2 kB / 0.8058 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5945, allocations: 4.812 kB / 0.8058 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5946, allocations: 1.625 kB / 0.8058 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5946, allocations: 1.5 kB / 0.8058 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.5948, allocations: 28.91 kB / 0.8058 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.5948, allocations: 5.062 kB / 0.8058 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.595, allocations: 26.11 kB / 0.8058 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.5951, allocations: 12.42 kB / 0.8058 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002075/0.5953, allocations: 144.6 kB / 0.806 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001921/0.5955, allocations: 81 kB / 0.8061 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002759/0.5958, allocations: 114.4 kB / 0.8062 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.5958, allocations: 0.5625 kB / 0.8062 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization_lambda0): time 0.0003621/0.5962, allocations: 149.7 kB / 0.8063 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.5962, allocations: 5.062 kB / 0.8063 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5962, allocations: 3.016 kB / 0.8063 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.5962, allocations: 1.125 kB / 0.8063 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5963, allocations: 18.86 kB / 0.8063 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5963, allocations: 1.281 kB / 0.8063 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.5965, allocations: 27.95 kB / 0.8064 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5965, allocations: 4.125 kB / 0.8064 GB, free: 8.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001101/0.5966, allocations: 191 kB / 0.8066 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.5967, allocations: 21.69 kB / 0.8066 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.5968, allocations: 27.73 kB / 0.8066 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5968, allocations: 1.094 kB / 0.8066 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5968, allocations: 0.5 kB / 0.8066 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.5968, allocations: 4.438 kB / 0.8066 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5979, allocations: 0.6078 MB / 0.8072 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5979, allocations: 5.625 kB / 0.8072 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.5981, allocations: 32.91 kB / 0.8072 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5981, allocations: 2.344 kB / 0.8072 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.5981, allocations: 6.781 kB / 0.8072 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5982, allocations: 1.781 kB / 0.8072 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5982, allocations: 2 kB / 0.8072 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5992, allocations: 0.9634 MB / 0.8082 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.5993, allocations: 100.4 kB / 0.8083 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.5993, allocations: 3.188 kB / 0.8083 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.5996, allocations: 28.5 kB / 0.8083 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.5996, allocations: 16.16 kB / 0.8083 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5997, allocations: 4.25 kB / 0.8083 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001837/0.5998, allocations: 195.8 kB / 0.8085 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5999, allocations: 0 / 0.8085 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006177/0.6005, allocations: 87.12 kB / 0.8086 GB, free: 6.898 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (9): * Single equations (assignments): 9 * 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.0003583/0.6008, allocations: 155.1 kB / 0.8088 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.6014, allocations: 185.5 kB / 0.8089 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6014, allocations: 3.312 kB / 0.8089 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6016, allocations: 73.52 kB / 0.809 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.6025, allocations: 135.2 kB / 0.8091 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.6033, allocations: 0.6229 MB / 0.8097 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6036, allocations: 0.7545 MB / 0.8105 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.6039, allocations: 66.72 kB / 0.8105 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.6039, allocations: 20.38 kB / 0.8106 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.6039, allocations: 0 / 0.8106 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of Templates: time 0.008274/0.6122, allocations: 4.472 MB / 0.8149 GB, free: 3.211 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)