Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6441/0.6441, allocations: 117.9 MB / 133.9 MB, free: 4.539 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.00111/0.00111, allocations: 179.5 kB / 161.7 MB, free: 2.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0008907/0.0008905, allocations: 104.3 kB / 470.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 12 kB / 0.5423 GB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 74.55 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.44, allocations: 428 MB / 1.033 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.441, allocations: 105.1 kB / 1.033 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 41.74/43.18, allocations: 9.907 GB / 10.94 GB, free: 63.99 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.787e-06/43.18, allocations: 0 / 10.94 GB, free: 63.99 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004334/43.18, allocations: 383.5 kB / 10.94 GB, free: 63.91 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.07467/43.26, allocations: 18.43 MB / 10.96 GB, free: 56.86 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/43.26, allocations: 10.78 kB / 10.96 GB, free: 56.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/43.28, allocations: 2.331 MB / 10.96 GB, free: 55.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07218/43.35, allocations: 21.55 MB / 10.98 GB, free: 43.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008988/43.35, allocations: 0.5918 MB / 10.98 GB, free: 42.95 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004599/43.35, allocations: 0.7932 MB / 10.98 GB, free: 42.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04638/43.4, allocations: 16.63 MB / 11 GB, free: 25.66 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000362/43.4, allocations: 23.75 kB / 11 GB, free: 25.64 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003577/43.4, allocations: 292 kB / 11 GB, free: 25.35 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/43.4, allocations: 180 kB / 11 GB, free: 25.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0421/43.45, allocations: 20.81 MB / 11.02 GB, free: 4.34 MB / 0.9323 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 1.079/44.53, allocations: 73.81 MB / 11.09 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/44.55, allocations: 12.17 MB / 11.1 GB, free: 36.68 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01423/44.57, allocations: 8.591 MB / 11.11 GB, free: 36.61 MB / 0.9323 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 evalFunc (simulation): time 0.06783/44.64, allocations: 28.13 MB / 11.14 GB, free: 28.32 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02813/44.66, allocations: 10.74 MB / 11.15 GB, free: 28.21 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0495/44.71, allocations: 14.96 MB / 11.17 GB, free: 28.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=425): time 6.263e-05/44.71, allocations: 4.875 kB / 11.17 GB, free: 28.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=611): time 0.714/45.43, allocations: 172.5 MB / 11.33 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/45.43, allocations: 112.2 kB / 11.33 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04627/45.47, allocations: 13.82 MB / 11.35 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.005624/45.48, allocations: 191.2 kB / 11.35 GB, free: 4.27 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01278/45.49, allocations: 6.679 MB / 11.35 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.006838/45.5, allocations: 2.064 MB / 11.36 GB, free: 232 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004734/45.5, allocations: 159.9 kB / 11.36 GB, free: 196 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.001097/45.51, allocations: 0.6203 MB / 11.36 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02283/45.53, allocations: 8.972 MB / 11.37 GB, free: 9.973 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145/46.67, allocations: 11.8 MB / 11.38 GB, free: 80.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04415/46.72, allocations: 20.32 MB / 11.4 GB, free: 78.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/46.72, allocations: 16.62 kB / 11.4 GB, free: 78.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.1325/46.85, allocations: 39.62 MB / 11.44 GB, free: 77.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001269/46.85, allocations: 1.79 MB / 11.44 GB, free: 75.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-05/46.85, allocations: 53.66 kB / 11.44 GB, free: 75.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.589/47.44, allocations: 150.1 MB / 11.58 GB, free: 75.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/47.45, allocations: 1.746 MB / 11.59 GB, free: 75.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2025/47.65, allocations: 78.44 MB / 11.66 GB, free: 34.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0231/47.68, allocations: 1.472 MB / 11.66 GB, free: 32.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005145/47.68, allocations: 0.8352 MB / 11.66 GB, free: 32.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/47.68, allocations: 4 kB / 11.66 GB, free: 32.01 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06814/47.75, allocations: 27.29 MB / 11.69 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000253/47.75, allocations: 57.25 kB / 11.69 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609/49.36, allocations: 148.3 MB / 11.84 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009275/49.37, allocations: 1.698 MB / 11.84 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08643/49.46, allocations: 43.24 MB / 11.88 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02075/49.48, allocations: 1.077 MB / 11.88 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004933/49.48, allocations: 0.775 MB / 11.88 GB, free: 101.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (759): * Single equations (assignments): 746 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 80} * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01442/49.5, allocations: 3.332 MB / 11.89 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006737/49.5, allocations: 1.28 MB / 11.89 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1361/49.64, allocations: 38.79 MB / 11.92 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001715/49.64, allocations: 75.5 kB / 11.92 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.888e-05/49.64, allocations: 14.59 kB / 11.92 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1103/49.75, allocations: 33.06 MB / 11.96 GB, free: 99.96 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.1791/49.93, allocations: 62.56 MB / 12.02 GB, free: 71.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.604e-05/49.93, allocations: 4 kB / 12.02 GB, free: 71.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006596/49.94, allocations: 1.19 MB / 12.02 GB, free: 70.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1726/50.11, allocations: 45.63 MB / 12.06 GB, free: 26.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002582/50.11, allocations: 219 kB / 12.06 GB, free: 26.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.983/51.09, allocations: 57.36 MB / 12.12 GB, free: 99.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/51.09, allocations: 12.22 kB / 12.12 GB, free: 99.23 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2363/51.33, allocations: 63.54 MB / 12.18 GB, free: 98.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01145/51.34, allocations: 3.056 MB / 12.19 GB, free: 97.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005568/51.35, allocations: 133.8 kB / 12.19 GB, free: 97.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01653/51.36, allocations: 1.239 MB / 12.19 GB, free: 97.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003563/51.37, allocations: 0.5732 MB / 12.19 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001645/51.37, allocations: 315.1 kB / 12.19 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02145/51.39, allocations: 9.371 MB / 12.2 GB, free: 97.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.21e-07/51.39, allocations: 0 / 12.2 GB, free: 97.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06414/51.45, allocations: 8.215 MB / 12.2 GB, free: 97.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (533): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 74} * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/51.47, allocations: 5.504 MB / 12.21 GB, free: 95.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.08325/51.55, allocations: 36.96 MB / 12.25 GB, free: 94.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/51.55, allocations: 12.5 kB / 12.25 GB, free: 94.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.02681/51.58, allocations: 11.55 MB / 12.26 GB, free: 93.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06119/51.64, allocations: 6.663 MB / 12.26 GB, free: 93.68 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09779/51.73, allocations: 38.08 MB / 12.3 GB, free: 82.21 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01966/51.75, allocations: 7.483 MB / 12.31 GB, free: 81.15 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02859/51.78, allocations: 4.008 MB / 12.31 GB, free: 80.66 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006894/51.79, allocations: 1.072 MB / 12.31 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of SimCode: time 2.335e-06/51.79, allocations: 0 / 12.31 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of Templates: time 2.3/54.09, allocations: 491.7 MB / 12.79 GB, free: 14.07 MB / 1.042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)