Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5",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.7112/0.7112, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001275/0.001275, allocations: 184.8 kB / 169.7 MB, free: 1.738 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.49/1.49, allocations: 205.1 MB / 404.5 MB, free: 1.668 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.0008133/0.0008134, allocations: 94.83 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.034e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 76.76 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.24, allocations: 429.6 MB / 1.048 GB, free: 86.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.24, allocations: 97.25 kB / 1.048 GB, free: 86.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 39.83/41.07, allocations: 9.883 GB / 10.93 GB, free: 48.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.146e-06/41.07, allocations: 0 / 10.93 GB, free: 48.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003226/41.08, allocations: 352.3 kB / 10.93 GB, free: 48.88 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.04834/41.13, allocations: 11.02 MB / 10.94 GB, free: 43.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/41.13, allocations: 10.84 kB / 10.94 GB, free: 43.87 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004265/41.13, allocations: 0.7651 MB / 10.94 GB, free: 43.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/41.15, allocations: 2.37 MB / 10.94 GB, free: 42.96 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0604/41.21, allocations: 19.15 MB / 10.96 GB, free: 31.03 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008459/41.21, allocations: 0.5229 MB / 10.96 GB, free: 30.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/41.21, allocations: 0.7052 MB / 10.96 GB, free: 29.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04187/41.25, allocations: 14.93 MB / 10.98 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/41.25, allocations: 3.938 kB / 10.98 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003578/41.26, allocations: 250.8 kB / 10.98 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/41.26, allocations: 152 kB / 10.98 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.012/42.27, allocations: 19.34 MB / 11 GB, free: 56.98 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.1361/42.41, allocations: 69.88 MB / 11.07 GB, free: 26.07 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02528/42.43, allocations: 11.3 MB / 11.08 GB, free: 25.91 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01329/42.45, allocations: 8.344 MB / 11.09 GB, free: 25.86 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.06466/42.51, allocations: 27.7 MB / 11.11 GB, free: 17.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02556/42.54, allocations: 10.06 MB / 11.12 GB, free: 17.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04861/42.58, allocations: 15.31 MB / 11.14 GB, free: 17.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=390): time 6.056e-05/42.58, allocations: 2.484 kB / 11.14 GB, free: 17.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=576): time 0.3615/42.95, allocations: 97.98 MB / 11.23 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/42.95, allocations: 116.5 kB / 11.23 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03142/42.98, allocations: 11.73 MB / 11.25 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.005615/42.98, allocations: 186.1 kB / 11.25 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01196/43, allocations: 6.067 MB / 11.25 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005185/43, allocations: 1.947 MB / 11.25 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002885/43, allocations: 145.5 kB / 11.25 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0006099/43, allocations: 0.5914 MB / 11.25 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01466/43.02, allocations: 8.057 MB / 11.26 GB, free: 7.488 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01764/43.04, allocations: 10.63 MB / 11.27 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/43.05, allocations: 8.988 MB / 11.28 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/43.05, allocations: 15.59 kB / 11.28 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.1082/43.16, allocations: 34.14 MB / 11.31 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01179/43.17, allocations: 30.15 MB / 11.34 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002493/43.17, allocations: 48 kB / 11.34 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676/44.85, allocations: 172 MB / 11.51 GB, free: 99.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/44.86, allocations: 1.692 MB / 11.51 GB, free: 99.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07473/44.93, allocations: 40.46 MB / 11.55 GB, free: 93.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02293/44.96, allocations: 1.421 MB / 11.55 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004556/44.96, allocations: 0.8138 MB / 11.56 GB, free: 93.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/44.96, allocations: 3.219 kB / 11.56 GB, free: 93.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05393/45.02, allocations: 26.11 MB / 11.58 GB, free: 91.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002151/45.02, allocations: 52.95 kB / 11.58 GB, free: 91.54 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546/46.56, allocations: 171 MB / 11.75 GB, free: 125.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008283/46.57, allocations: 1.534 MB / 11.75 GB, free: 125.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08072/46.65, allocations: 41.96 MB / 11.79 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01903/46.67, allocations: 1.032 MB / 11.79 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004288/46.68, allocations: 0.7504 MB / 11.79 GB, free: 121.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (657): * Single equations (assignments): 644 * 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 {(7,65.3%) 78} * Non-linear torn systems: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.00633/46.68, allocations: 0.5269 MB / 11.79 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006255/46.69, allocations: 1.197 MB / 11.79 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1483/46.84, allocations: 39.96 MB / 11.83 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/46.84, allocations: 74.94 kB / 11.83 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.551e-05/46.84, allocations: 13.22 kB / 11.83 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1238/46.96, allocations: 34.34 MB / 11.87 GB, free: 120.5 MB / 0.9948 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.1237/47.08, allocations: 49.79 MB / 11.91 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-05/47.08, allocations: 8.094 kB / 11.91 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006671/47.09, allocations: 1.211 MB / 11.92 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2174/47.31, allocations: 50.42 MB / 11.97 GB, free: 96.55 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002204/47.31, allocations: 208.4 kB / 11.97 GB, free: 96.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1198/47.43, allocations: 51.34 MB / 12.02 GB, free: 66.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/47.43, allocations: 11.84 kB / 12.02 GB, free: 66.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.092/48.52, allocations: 52.13 MB / 12.07 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01318/48.54, allocations: 2.958 MB / 12.07 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006548/48.54, allocations: 126.2 kB / 12.07 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01733/48.56, allocations: 1.213 MB / 12.07 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003582/48.56, allocations: 0.5453 MB / 12.07 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002214/48.57, allocations: 306.2 kB / 12.07 GB, free: 118 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02249/48.59, allocations: 8.949 MB / 12.08 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.242e-06/48.59, allocations: 0.5312 kB / 12.08 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.06257/48.65, allocations: 7.229 MB / 12.09 GB, free: 117.6 MB / 0.9948 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 (482): * Single equations (assignments): 462 * 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 {(5,76.0%) 76} * Non-linear torn systems: 2 {38 56,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1857/48.84, allocations: 57.81 MB / 12.14 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.08519/48.92, allocations: 35.82 MB / 12.18 GB, free: 110.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/48.92, allocations: 3.812 kB / 12.18 GB, free: 110.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.02591/48.95, allocations: 10.97 MB / 12.19 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03624/48.98, allocations: 6.2 MB / 12.2 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/49.09, allocations: 30.23 MB / 12.23 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01646/49.11, allocations: 7.26 MB / 12.23 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03745/49.15, allocations: 6.348 MB / 12.24 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01399/49.16, allocations: 5.826 MB / 12.24 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.272e-06/49.16, allocations: 0 / 12.24 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.421/52.58, allocations: 0.5865 GB / 12.83 GB, free: 172.2 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/52.58, allocations: 230.3 kB / 12.83 GB, free: 171.9 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.91/81.49, allocations: 2.281 kB / 12.83 GB, free: 171.9 MB / 1.042 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)