Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6947/0.6947, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 187.8 kB / 169.7 MB, free: 1.734 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.596/1.596, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0008288/0.0008288, allocations: 83.73 kB / 481.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.502e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.302, allocations: 430.3 MB / 1.048 GB, free: 85.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.303, allocations: 104.2 kB / 1.049 GB, free: 85.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 40.78/42.08, allocations: 10.11 GB / 11.16 GB, free: 66.67 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.134e-06/42.08, allocations: 0 / 11.16 GB, free: 66.67 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003177/42.09, allocations: 348.9 kB / 11.16 GB, free: 66.6 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.06339/42.15, allocations: 10.94 MB / 11.17 GB, free: 61.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 9.268e-05/42.15, allocations: 12.66 kB / 11.17 GB, free: 61.67 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005737/42.15, allocations: 0.7631 MB / 11.17 GB, free: 61.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/42.18, allocations: 2.221 MB / 11.17 GB, free: 60.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08979/42.27, allocations: 18.79 MB / 11.19 GB, free: 58.47 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001451/42.27, allocations: 0.5242 MB / 11.19 GB, free: 58.46 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004929/42.27, allocations: 0.6971 MB / 11.19 GB, free: 58.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03578/42.31, allocations: 10.15 MB / 11.2 GB, free: 57.28 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/42.31, allocations: 16.44 kB / 11.2 GB, free: 57.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009067/42.31, allocations: 254.9 kB / 11.2 GB, free: 57.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/42.31, allocations: 154.9 kB / 11.2 GB, free: 57.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/42.33, allocations: 8.44 MB / 11.21 GB, free: 57.09 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.08246/42.41, allocations: 49.67 MB / 11.26 GB, free: 29.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/42.43, allocations: 6.516 MB / 11.26 GB, free: 29.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00497/42.44, allocations: 3.522 MB / 11.27 GB, free: 29.33 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.03353/42.47, allocations: 12.89 MB / 11.28 GB, free: 23.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01473/42.48, allocations: 5.199 MB / 11.28 GB, free: 22.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01401/42.5, allocations: 2.472 MB / 11.29 GB, free: 21.63 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=323): time 2.906e-05/42.5, allocations: 4 kB / 11.29 GB, free: 21.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=509): time 1.267/43.77, allocations: 64.66 MB / 11.35 GB, free: 88.11 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/43.77, allocations: 103.8 kB / 11.35 GB, free: 88.04 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03214/43.8, allocations: 11.93 MB / 11.36 GB, free: 87.31 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002581/43.8, allocations: 176.4 kB / 11.36 GB, free: 87.28 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.009075/43.81, allocations: 6.288 MB / 11.37 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003131/43.81, allocations: 1.717 MB / 11.37 GB, free: 85.42 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/43.81, allocations: 144.2 kB / 11.37 GB, free: 85.42 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004553/43.81, allocations: 0.5914 MB / 11.37 GB, free: 85.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006553/43.82, allocations: 4.185 MB / 11.37 GB, free: 85.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008574/43.83, allocations: 7.078 MB / 11.38 GB, free: 81.76 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008908/43.84, allocations: 5.015 MB / 11.39 GB, free: 81.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.072e-05/43.84, allocations: 15.66 kB / 11.39 GB, free: 81.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.07284/43.91, allocations: 21.91 MB / 11.41 GB, free: 80.56 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.008422/43.92, allocations: 39.07 MB / 11.45 GB, free: 40.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002327/43.92, allocations: 62.56 kB / 11.45 GB, free: 40.42 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/43.93, allocations: 4.839 MB / 11.45 GB, free: 40.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/43.95, allocations: 1.791 MB / 11.45 GB, free: 40.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04148/43.99, allocations: 26.51 MB / 11.48 GB, free: 32.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01938/44.01, allocations: 1.348 MB / 11.48 GB, free: 32.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002941/44.01, allocations: 0.4907 MB / 11.48 GB, free: 32.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/44.01, allocations: 2.625 kB / 11.48 GB, free: 32.82 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03003/44.04, allocations: 13.91 MB / 11.49 GB, free: 32.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002874/44.04, allocations: 61.12 kB / 11.49 GB, free: 32.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/44.05, allocations: 4.099 MB / 11.5 GB, free: 32.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008549/44.06, allocations: 1.634 MB / 11.5 GB, free: 32.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0456/44.11, allocations: 28.03 MB / 11.53 GB, free: 26.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01608/44.12, allocations: 0.9587 MB / 11.53 GB, free: 26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/44.12, allocations: 439.9 kB / 11.53 GB, free: 26 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 271 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (737): * Single equations (assignments): 721 * 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: 6 * 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: 5 {1 4,1 2,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003252/44.13, allocations: 0.5501 MB / 11.53 GB, free: 25.89 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005069/44.13, allocations: 1.193 MB / 11.53 GB, free: 25.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06657/44.2, allocations: 20.34 MB / 11.55 GB, free: 24.66 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001398/44.2, allocations: 60.62 kB / 11.55 GB, free: 24.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-05/44.2, allocations: 13.75 kB / 11.55 GB, free: 24.66 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05779/44.26, allocations: 17.66 MB / 11.57 GB, free: 23.94 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.09915/44.36, allocations: 32.62 MB / 11.6 GB, free: 21.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.205e-05/44.36, allocations: 3.812 kB / 11.6 GB, free: 21.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006542/44.36, allocations: 1.121 MB / 11.6 GB, free: 21.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00978/44.37, allocations: 3.869 MB / 11.6 GB, free: 21.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001504/44.37, allocations: 179.1 kB / 11.6 GB, free: 21.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1067/44.48, allocations: 47.32 MB / 11.65 GB, free: 17.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/44.48, allocations: 8 kB / 11.65 GB, free: 17.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09336/44.57, allocations: 28.32 MB / 11.68 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01135/44.59, allocations: 2.561 MB / 11.68 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006051/44.59, allocations: 107.2 kB / 11.68 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01842/44.61, allocations: 1.197 MB / 11.68 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003087/44.61, allocations: 487.2 kB / 11.68 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001522/44.62, allocations: 271.1 kB / 11.68 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02459/44.64, allocations: 9.079 MB / 11.69 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.22e-07/44.64, allocations: 0 / 11.69 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.06104/44.7, allocations: 7.712 MB / 11.7 GB, free: 16 kB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (432): * Single equations (assignments): 409 * 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: 6 * 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,65.3%) 74} * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 1.059/45.76, allocations: 32.58 MB / 11.73 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04263/45.8, allocations: 19.01 MB / 11.75 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.483e-05/45.8, allocations: 5.562 kB / 11.75 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01645/45.82, allocations: 6.443 MB / 11.75 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03501/45.85, allocations: 5.895 MB / 11.76 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09482/45.95, allocations: 28.3 MB / 11.79 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/45.96, allocations: 7.165 MB / 11.8 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03237/45.99, allocations: 6.494 MB / 11.8 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/46, allocations: 5.76 MB / 11.81 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/46, allocations: 0 / 11.81 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.473/47.48, allocations: 464.6 MB / 12.26 GB, free: 124.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/47.48, allocations: 227.1 kB / 12.26 GB, free: 124 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.6/72.08, allocations: 4 kB / 12.26 GB, free: 124 MB / 0.9948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)