Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.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.Movers.Validation.ControlledFlowMachine,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine",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.733/0.733, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001264/0.001264, allocations: 184.7 kB / 169.7 MB, free: 1.742 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.892/1.892, 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.0009111/0.000911, allocations: 98.09 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.684e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 76.76 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/5.937, allocations: 2.196 GB / 2.824 GB, free: 78.99 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/5.937, allocations: 98.06 kB / 2.825 GB, free: 78.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 18.17/24.11, allocations: 4.302 GB / 7.126 GB, free: 52.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.467e-06/24.11, allocations: 0.6562 kB / 7.126 GB, free: 52.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001385/24.11, allocations: 151.4 kB / 7.126 GB, free: 52.23 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.02552/24.14, allocations: 5.746 MB / 7.132 GB, free: 49.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/24.14, allocations: 10.5 kB / 7.132 GB, free: 49.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/24.14, allocations: 406.2 kB / 7.132 GB, free: 49.93 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/24.15, allocations: 1.443 MB / 7.134 GB, free: 49.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03106/24.18, allocations: 11.01 MB / 7.145 GB, free: 48.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/24.18, allocations: 254.8 kB / 7.145 GB, free: 48.39 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/24.19, allocations: 357.4 kB / 7.145 GB, free: 48.39 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/24.2, allocations: 4.205 MB / 7.149 GB, free: 48 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-05/24.2, allocations: 9.922 kB / 7.149 GB, free: 48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004841/24.2, allocations: 124.4 kB / 7.149 GB, free: 48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/24.2, allocations: 108.6 kB / 7.149 GB, free: 47.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008399/24.21, allocations: 3.127 MB / 7.153 GB, free: 47.96 MB / 0.823 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.03803/24.25, allocations: 19.37 MB / 7.171 GB, free: 40.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007223/24.25, allocations: 2.897 MB / 7.174 GB, free: 39.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/24.26, allocations: 1.179 MB / 7.175 GB, free: 39.58 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/24.26, allocations: 225.7 kB / 7.176 GB, free: 39.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004706/24.26, allocations: 1.916 MB / 7.178 GB, free: 39.32 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005286/24.27, allocations: 409.1 kB / 7.178 GB, free: 39.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=177): time 2.358e-05/24.27, allocations: 0.5938 kB / 7.178 GB, free: 39.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=177): time 0.01075/24.28, allocations: 3.169 MB / 7.181 GB, free: 38.81 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/24.28, allocations: 149.1 kB / 7.181 GB, free: 38.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/24.29, allocations: 6.182 MB / 7.187 GB, free: 38.24 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/24.29, allocations: 85.23 kB / 7.187 GB, free: 38.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004047/24.3, allocations: 2.678 MB / 7.19 GB, free: 37.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/24.3, allocations: 0.6103 MB / 7.19 GB, free: 37.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/24.3, allocations: 55.31 kB / 7.191 GB, free: 37.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000297/24.3, allocations: 421 kB / 7.191 GB, free: 36.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/24.3, allocations: 1.131 MB / 7.192 GB, free: 36.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/24.31, allocations: 2.352 MB / 7.194 GB, free: 35.41 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/24.31, allocations: 1.488 MB / 7.196 GB, free: 35.35 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/24.31, allocations: 10.38 kB / 7.196 GB, free: 35.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009651/24.32, allocations: 4.153 MB / 7.2 GB, free: 34.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.005346/24.32, allocations: 14.89 MB / 7.214 GB, free: 35.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/24.32, allocations: 33.69 kB / 7.214 GB, free: 35.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/24.32, allocations: 271.8 kB / 7.215 GB, free: 35.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/24.33, allocations: 0.828 MB / 7.215 GB, free: 35.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/24.33, allocations: 3.638 MB / 7.219 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007624/24.34, allocations: 394.2 kB / 7.219 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/24.34, allocations: 257.5 kB / 7.22 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/24.34, allocations: 3.375 kB / 7.22 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/24.35, allocations: 3.861 MB / 7.223 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/24.35, allocations: 30.47 kB / 7.223 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/24.35, allocations: 0.555 MB / 7.224 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/24.36, allocations: 0.6445 MB / 7.225 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/24.37, allocations: 7.273 MB / 7.232 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007275/24.38, allocations: 323.6 kB / 7.232 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/24.38, allocations: 223.1 kB / 7.232 GB, free: 29.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 309 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002025/24.38, allocations: 292.2 kB / 7.233 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/24.38, allocations: 0.5229 MB / 7.233 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/24.39, allocations: 3.231 MB / 7.236 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/24.39, allocations: 16.56 kB / 7.236 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/24.39, allocations: 1.828 kB / 7.236 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006878/24.4, allocations: 2.779 MB / 7.239 GB, free: 28.03 MB / 0.8386 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.02739/24.43, allocations: 8.639 MB / 7.247 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/24.43, allocations: 0 / 7.247 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003798/24.43, allocations: 0.6699 MB / 7.248 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007569/24.43, allocations: 260.9 kB / 7.248 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/24.43, allocations: 56.55 kB / 7.248 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005241/24.44, allocations: 4.321 MB / 7.253 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/24.44, allocations: 2.422 kB / 7.253 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/24.45, allocations: 4.714 MB / 7.257 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005727/24.46, allocations: 1.167 MB / 7.258 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002792/24.46, allocations: 42.59 kB / 7.258 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005912/24.47, allocations: 383.8 kB / 7.259 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/24.47, allocations: 131.2 kB / 7.259 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000428/24.47, allocations: 98.31 kB / 7.259 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01395/24.48, allocations: 4.705 MB / 7.264 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.11e-07/24.48, allocations: 0 / 7.264 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01947/24.5, allocations: 3.462 MB / 7.267 GB, free: 21.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03285/24.53, allocations: 16.53 MB / 7.283 GB, free: 30.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01468/24.55, allocations: 5.653 MB / 7.289 GB, free: 29.67 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/24.55, allocations: 2.875 kB / 7.289 GB, free: 29.67 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003923/24.55, allocations: 1.319 MB / 7.29 GB, free: 29.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01988/24.57, allocations: 3.166 MB / 7.293 GB, free: 29.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/24.6, allocations: 9.756 MB / 7.302 GB, free: 27.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006797/24.61, allocations: 3.451 MB / 7.306 GB, free: 26.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01653/24.63, allocations: 2.844 MB / 7.309 GB, free: 26.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005448/24.63, allocations: 2.449 MB / 7.311 GB, free: 26.56 MB / 0.8542 GB Notification: Performance of SimCode: time 1.373e-06/24.63, allocations: 2.906 kB / 7.311 GB, free: 26.56 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.316/25.95, allocations: 298.6 MB / 7.603 GB, free: 53.43 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/25.95, allocations: 244.6 kB / 7.603 GB, free: 53.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/41.72, allocations: 0.5625 kB / 7.603 GB, free: 53.11 MB / 0.8542 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)