Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 184.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000872/0.0008719, allocations: 90.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.063e-05/5.065e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.847, allocations: 458.5 MB / 1.34 GB, free: 241 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.847, allocations: 96.14 kB / 1.34 GB, free: 241 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 42.31/44.16, allocations: 10.21 GB / 11.55 GB, free: 76.56 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.154e-06/44.16, allocations: 0 / 11.55 GB, free: 76.56 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003351/44.16, allocations: 352.1 kB / 11.55 GB, free: 76.5 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05913/44.22, allocations: 11.06 MB / 11.56 GB, free: 71.95 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/44.22, allocations: 9.25 kB / 11.56 GB, free: 71.95 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006227/44.23, allocations: 0.7819 MB / 11.56 GB, free: 71.88 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/44.24, allocations: 2.07 MB / 11.56 GB, free: 71.09 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08208/44.33, allocations: 18.25 MB / 11.58 GB, free: 68.99 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001482/44.33, allocations: 0.5275 MB / 11.58 GB, free: 68.98 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004942/44.33, allocations: 0.7211 MB / 11.58 GB, free: 68.97 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0302/44.36, allocations: 8.245 MB / 11.59 GB, free: 67.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000494/44.36, allocations: 18.16 kB / 11.59 GB, free: 67.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003163/44.37, allocations: 256.1 kB / 11.59 GB, free: 67.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/44.37, allocations: 157.3 kB / 11.59 GB, free: 67.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/44.39, allocations: 6.552 MB / 11.6 GB, free: 67.86 MB / 1.135 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.1011/44.49, allocations: 49.7 MB / 11.64 GB, free: 41.21 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/44.5, allocations: 4.59 MB / 11.65 GB, free: 41.04 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007094/44.51, allocations: 3.58 MB / 11.65 GB, free: 40.99 MB / 1.135 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.05788/44.56, allocations: 13.61 MB / 11.67 GB, free: 37.92 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01003/44.57, allocations: 3.193 MB / 11.67 GB, free: 37.82 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02072/44.59, allocations: 2.393 MB / 11.67 GB, free: 37.61 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 4.111e-05/44.59, allocations: 6.125 kB / 11.67 GB, free: 37.61 MB / 1.135 GB Notification: Performance of matching and sorting (n=514): time 0.1576/44.75, allocations: 35.43 MB / 11.71 GB, free: 30.34 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/44.75, allocations: 114 kB / 11.71 GB, free: 30.27 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03921/44.79, allocations: 12.05 MB / 11.72 GB, free: 29.48 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.002746/44.79, allocations: 173 kB / 11.72 GB, free: 29.45 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01138/44.81, allocations: 6.221 MB / 11.72 GB, free: 28 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.003753/44.81, allocations: 1.732 MB / 11.73 GB, free: 26.88 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/44.81, allocations: 146 kB / 11.73 GB, free: 26.88 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0008136/44.81, allocations: 0.5986 MB / 11.73 GB, free: 26.56 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/44.82, allocations: 3.859 MB / 11.73 GB, free: 26.55 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/44.84, allocations: 6.783 MB / 11.74 GB, free: 23.19 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/44.85, allocations: 4.686 MB / 11.74 GB, free: 23.02 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/44.85, allocations: 18.16 kB / 11.74 GB, free: 23.02 MB / 1.135 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.03508/44.88, allocations: 13.83 MB / 11.75 GB, free: 21.98 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01784/44.9, allocations: 38.5 MB / 11.79 GB, free: 14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005082/44.9, allocations: 57.81 kB / 11.79 GB, free: 14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009138/44.91, allocations: 3.397 MB / 11.8 GB, free: 13.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/44.92, allocations: 1.791 MB / 11.8 GB, free: 13.85 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/44.94, allocations: 12.32 MB / 11.81 GB, free: 23.09 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/44.95, allocations: 1.137 MB / 11.81 GB, free: 22.98 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002634/44.96, allocations: 487.7 kB / 11.81 GB, free: 22.98 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/44.96, allocations: 7.125 kB / 11.81 GB, free: 22.98 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02733/44.98, allocations: 12.81 MB / 11.82 GB, free: 22.51 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003171/44.98, allocations: 58.81 kB / 11.82 GB, free: 22.51 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008272/44.99, allocations: 3.651 MB / 11.83 GB, free: 22.36 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008883/45, allocations: 1.783 MB / 11.83 GB, free: 22.35 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/45.02, allocations: 16.62 MB / 11.85 GB, free: 16.73 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01582/45.04, allocations: 1.1 MB / 11.85 GB, free: 16.62 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002183/45.04, allocations: 454 kB / 11.85 GB, free: 16.62 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.002806/45.05, allocations: 0.5479 MB / 11.85 GB, free: 16.47 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003663/45.05, allocations: 1.198 MB / 11.85 GB, free: 15.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02492/45.07, allocations: 12.23 MB / 11.86 GB, free: 15.05 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.247e-05/45.07, allocations: 60.66 kB / 11.86 GB, free: 15.05 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/45.07, allocations: 5.875 kB / 11.86 GB, free: 15.05 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01601/45.09, allocations: 9.669 MB / 11.87 GB, free: 14.36 MB / 1.182 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.06076/45.15, allocations: 24.14 MB / 11.89 GB, free: 12.03 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.364e-05/45.15, allocations: 7.094 kB / 11.89 GB, free: 12.03 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006286/45.16, allocations: 1.1 MB / 11.89 GB, free: 11.98 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005856/45.16, allocations: 2.401 MB / 11.9 GB, free: 11.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001446/45.17, allocations: 176.4 kB / 11.9 GB, free: 11.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/45.18, allocations: 10.98 MB / 11.91 GB, free: 5.047 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/45.18, allocations: 11.69 kB / 11.91 GB, free: 5.043 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03512/45.21, allocations: 18.8 MB / 11.93 GB, free: 0.5117 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01189/45.22, allocations: 2.523 MB / 11.93 GB, free: 15.71 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006919/45.23, allocations: 106.9 kB / 11.93 GB, free: 15.71 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01402/45.24, allocations: 0.9136 MB / 11.93 GB, free: 15.62 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/45.25, allocations: 401.3 kB / 11.93 GB, free: 15.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001418/45.25, allocations: 250.5 kB / 11.93 GB, free: 15.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.02404/45.27, allocations: 9.156 MB / 11.94 GB, free: 13.45 MB / 1.198 GB Notification: Performance of sort global known variables: time 8.72e-07/45.27, allocations: 0 / 11.94 GB, free: 13.45 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.05079/45.32, allocations: 5.949 MB / 11.94 GB, free: 7.559 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (441): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 1.058/46.38, allocations: 23.87 MB / 11.97 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.037/46.42, allocations: 16.61 MB / 11.98 GB, free: 127.1 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/46.42, allocations: 2.281 kB / 11.98 GB, free: 127.1 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.009565/46.43, allocations: 4.604 MB / 11.99 GB, free: 127 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03435/46.46, allocations: 5.975 MB / 11.99 GB, free: 126.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0546/46.52, allocations: 22.51 MB / 12.02 GB, free: 122.5 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/46.53, allocations: 7.083 MB / 12.02 GB, free: 121.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03213/46.56, allocations: 6.46 MB / 12.03 GB, free: 121.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01/46.57, allocations: 5.771 MB / 12.04 GB, free: 121.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.012e-06/46.57, allocations: 2.031 kB / 12.04 GB, free: 121.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.753/49.32, allocations: 418.7 MB / 12.44 GB, free: 170.1 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/49.32, allocations: 229.5 kB / 12.44 GB, free: 169.8 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.71/72.03, allocations: 0.5469 kB / 12.44 GB, free: 169.8 MB / 1.245 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)