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.7523/0.7523, allocations: 128.8 MB / 143.8 MB, free: 2.324 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.0009893/0.0009892, allocations: 183.8 kB / 173.9 MB, free: 6.113 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.883/1.883, allocations: 205.4 MB / 409.1 MB, free: 10.47 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.0007505/0.0007505, allocations: 101.4 kB / 486.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 10.31 kB / 0.5604 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 76.79 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.7042/0.9384, allocations: 155.3 MB / 0.7871 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.9418, allocations: 1.616 MB / 0.7887 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.9421, allocations: 14.56 kB / 0.7887 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.9428, allocations: 113.7 kB / 0.7888 GB, free: 14.67 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:19:17-20:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:17:17-18:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:19:17-20:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:17:17-18:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001257/0.9441, allocations: 381.9 kB / 0.7892 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.9449, allocations: 277 kB / 0.7894 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007817/0.9457, allocations: 0.7045 MB / 0.7901 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.9459, allocations: 146.2 kB / 0.7903 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.9465, allocations: 273.5 kB / 0.7905 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.9467, allocations: 155.4 kB / 0.7907 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.9468, allocations: 10.31 kB / 0.7907 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009287/0.9477, allocations: 0.5209 MB / 0.7912 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.9478, allocations: 70.06 kB / 0.7912 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.9479, allocations: 65.45 kB / 0.7913 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.9484, allocations: 329.5 kB / 0.7916 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9484, allocations: 0 / 0.7916 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9484, allocations: 0 / 0.7916 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.9484, allocations: 0 / 0.7916 GB, free: 14.21 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.0008135/0.9492, allocations: 0.5378 MB / 0.7922 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9493, allocations: 9.438 kB / 0.7922 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.9497, allocations: 62 kB / 0.7922 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.95, allocations: 275.6 kB / 0.7925 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.9501, allocations: 9.094 kB / 0.7925 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.9501, allocations: 13.06 kB / 0.7925 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.9508, allocations: 224.6 kB / 0.7927 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9508, allocations: 0 / 0.7927 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.9509, allocations: 11.08 kB / 0.7927 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.9509, allocations: 3.906 kB / 0.7927 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.9515, allocations: 192.4 kB / 0.7929 GB, free: 13.47 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.0008738/0.9524, allocations: 0.6128 MB / 0.7935 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.9531, allocations: 176 kB / 0.7937 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.9532, allocations: 76.5 kB / 0.7938 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/0.9536, allocations: 185.7 kB / 0.7939 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.9536, allocations: 45.17 kB / 0.794 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.9536, allocations: 0 / 0.794 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.001339/0.955, allocations: 327.6 kB / 0.7943 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.955, allocations: 60.83 kB / 0.7943 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.9553, allocations: 257.5 kB / 0.7946 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.9554, allocations: 29.11 kB / 0.7946 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.9555, allocations: 145.4 kB / 0.7948 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.9556, allocations: 31.36 kB / 0.7948 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/0.9556, allocations: 4.281 kB / 0.7948 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9557, allocations: 332 kB / 0.7951 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.956, allocations: 67.27 kB / 0.7952 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.9562, allocations: 107.4 kB / 0.7953 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.9565, allocations: 67.77 kB / 0.7953 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9565, allocations: 1.656 kB / 0.7953 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005514/0.9571, allocations: 196 kB / 0.7955 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/0.9571, allocations: 114.4 kB / 0.7956 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.9572, allocations: 0 / 0.7956 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9572, allocations: 1.469 kB / 0.7956 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.9574, allocations: 34.89 kB / 0.7957 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.9574, allocations: 5.562 kB / 0.7957 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.9577, allocations: 34.41 kB / 0.7957 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.9577, allocations: 5.531 kB / 0.7957 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.9577, allocations: 3.906 kB / 0.7957 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002748/0.958, allocations: 112.6 kB / 0.7958 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.958, allocations: 0.8594 kB / 0.7958 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.958, allocations: 1.438 kB / 0.7958 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.9581, allocations: 22.91 kB / 0.7958 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.9581, allocations: 1.5 kB / 0.7959 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.9583, allocations: 27.03 kB / 0.7959 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.9583, allocations: 7.844 kB / 0.7959 GB, free: 11.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.9585, allocations: 213 kB / 0.7961 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.9585, allocations: 25.97 kB / 0.7961 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.9586, allocations: 31.16 kB / 0.7961 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9586, allocations: 1.594 kB / 0.7961 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.9586, allocations: 3.078 kB / 0.7961 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9586, allocations: 3.953 kB / 0.7961 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.9598, allocations: 0.6152 MB / 0.7967 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.9598, allocations: 2.031 kB / 0.7968 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.96, allocations: 41.77 kB / 0.7968 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.96, allocations: 2.188 kB / 0.7968 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.96, allocations: 2.312 kB / 0.7968 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.96, allocations: 9.328 kB / 0.7968 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.96, allocations: 2.406 kB / 0.7968 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.9606, allocations: 328.5 kB / 0.7971 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.9607, allocations: 99.3 kB / 0.7972 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.9607, allocations: 6.391 kB / 0.7972 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.961, allocations: 28.53 kB / 0.7972 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.961, allocations: 10.06 kB / 0.7973 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.9611, allocations: 11.23 kB / 0.7973 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001833/0.9612, allocations: 191 kB / 0.7975 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9612, allocations: 1.156 kB / 0.7975 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004645/0.9617, allocations: 85.94 kB / 0.7975 GB, free: 10.89 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 (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.0003566/0.9621, allocations: 152.4 kB / 0.7977 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006716/0.9628, allocations: 209.8 kB / 0.7979 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9628, allocations: 0 / 0.7979 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.9631, allocations: 87.73 kB / 0.798 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009114/0.964, allocations: 135.2 kB / 0.7981 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.9651, allocations: 499.5 kB / 0.7986 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.9656, allocations: 0.7564 MB / 0.7993 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.966, allocations: 59.16 kB / 0.7994 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.9661, allocations: 22.77 kB / 0.7994 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.9661, allocations: 0 / 0.7994 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of Templates: time 0.009294/0.9754, allocations: 4.215 MB / 0.8035 GB, free: 7.672 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)