Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.7323/0.7323, allocations: 127.4 MB / 134.9 MB, free: 3.73 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.001143/0.001143, allocations: 180.8 kB / 164.6 MB, free: 6.516 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.767/1.767, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.001129/0.001128, allocations: 86.98 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.876e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.456/5.641, allocations: 2.196 GB / 2.817 GB, free: 51.44 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/5.641, allocations: 95.88 kB / 2.817 GB, free: 51.39 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 17.56/23.2, allocations: 4.3 GB / 7.117 GB, free: 43.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.254e-06/23.2, allocations: 0 / 7.117 GB, free: 43.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.00134/23.2, allocations: 164.8 kB / 7.118 GB, free: 43.45 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.02418/23.22, allocations: 6.067 MB / 7.124 GB, free: 40.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/23.22, allocations: 10.44 kB / 7.124 GB, free: 40.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/23.24, allocations: 1.819 MB / 7.125 GB, free: 40.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03634/23.27, allocations: 11.41 MB / 7.136 GB, free: 39.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/23.27, allocations: 112 kB / 7.137 GB, free: 39.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/23.28, allocations: 229.7 kB / 7.137 GB, free: 39.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00943/23.29, allocations: 3.482 MB / 7.14 GB, free: 39.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/23.3, allocations: 3.84 MB / 7.144 GB, free: 38.65 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/23.3, allocations: 0 / 7.144 GB, free: 38.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/23.3, allocations: 5.781 kB / 7.144 GB, free: 38.65 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/23.3, allocations: 117.2 kB / 7.144 GB, free: 38.64 MB / 0.8073 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.04159/23.34, allocations: 19.53 MB / 7.163 GB, free: 31.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007706/23.35, allocations: 3.744 MB / 7.167 GB, free: 30.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/23.35, allocations: 1.659 MB / 7.168 GB, free: 30.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/23.35, allocations: 224.3 kB / 7.169 GB, free: 30.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00364/23.36, allocations: 1.715 MB / 7.17 GB, free: 30.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004403/23.36, allocations: 275.5 kB / 7.171 GB, free: 30.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=205): time 1.457e-05/23.36, allocations: 2.344 kB / 7.171 GB, free: 30.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=205): time 0.01407/23.38, allocations: 4.249 MB / 7.175 GB, free: 29.87 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/23.38, allocations: 342.5 kB / 7.175 GB, free: 29.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/23.39, allocations: 5.884 MB / 7.181 GB, free: 29.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/23.39, allocations: 31.48 kB / 7.181 GB, free: 29.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004648/23.4, allocations: 2.858 MB / 7.184 GB, free: 28.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/23.4, allocations: 0.6857 MB / 7.184 GB, free: 27.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/23.4, allocations: 0 / 7.184 GB, free: 27.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004397/23.4, allocations: 436.3 kB / 7.185 GB, free: 27.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/23.4, allocations: 1.627 MB / 7.186 GB, free: 27.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/23.41, allocations: 2.869 MB / 7.189 GB, free: 26.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005285/23.41, allocations: 2.059 MB / 7.191 GB, free: 26.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.491e-05/23.41, allocations: 9.844 kB / 7.191 GB, free: 26.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01731/23.43, allocations: 5.42 MB / 7.196 GB, free: 25.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005371/23.44, allocations: 14.5 MB / 7.211 GB, free: 26.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/23.44, allocations: 34.16 kB / 7.211 GB, free: 26.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/23.44, allocations: 476.6 kB / 7.211 GB, free: 26.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/23.44, allocations: 0.9073 MB / 7.212 GB, free: 26.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/23.45, allocations: 4.611 MB / 7.216 GB, free: 23.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008316/23.46, allocations: 348.4 kB / 7.217 GB, free: 23.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/23.46, allocations: 272.2 kB / 7.217 GB, free: 23.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/23.46, allocations: 3.625 kB / 7.217 GB, free: 23.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01291/23.47, allocations: 3.886 MB / 7.221 GB, free: 23.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/23.47, allocations: 37.5 kB / 7.221 GB, free: 23.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/23.47, allocations: 0.5294 MB / 7.221 GB, free: 23.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/23.48, allocations: 0.7077 MB / 7.222 GB, free: 23.58 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/23.49, allocations: 7.011 MB / 7.229 GB, free: 20.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007403/23.5, allocations: 270 kB / 7.229 GB, free: 20.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/23.5, allocations: 236.3 kB / 7.229 GB, free: 20.42 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (357): * Single equations (assignments): 339 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * 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.002229/23.5, allocations: 203.5 kB / 7.23 GB, free: 20.29 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01057/23.51, allocations: 3.138 MB / 7.233 GB, free: 19.88 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002441/23.51, allocations: 0.5403 MB / 7.233 GB, free: 19.58 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/23.52, allocations: 3.451 MB / 7.237 GB, free: 19.38 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/23.52, allocations: 23.75 kB / 7.237 GB, free: 19.38 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/23.52, allocations: 0 / 7.237 GB, free: 19.38 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006568/23.53, allocations: 2.984 MB / 7.24 GB, free: 18.86 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 postOpt removeSimpleEquations (simulation): time 0.02998/23.56, allocations: 8.863 MB / 7.248 GB, free: 17.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/23.56, allocations: 2.125 kB / 7.248 GB, free: 17.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004262/23.56, allocations: 0.7478 MB / 7.249 GB, free: 17.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/23.57, allocations: 192.1 kB / 7.249 GB, free: 17.47 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/23.57, allocations: 52.22 kB / 7.249 GB, free: 17.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/23.57, allocations: 4.335 MB / 7.253 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/23.57, allocations: 3.844 kB / 7.253 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/23.58, allocations: 5.111 MB / 7.258 GB, free: 11.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004446/23.59, allocations: 1.211 MB / 7.26 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002437/23.59, allocations: 14.77 kB / 7.26 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006913/23.6, allocations: 362.7 kB / 7.26 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005975/23.6, allocations: 143.2 kB / 7.26 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004353/23.6, allocations: 113.5 kB / 7.26 GB, free: 10.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01072/23.61, allocations: 4.4 MB / 7.264 GB, free: 8.715 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.12e-07/23.61, allocations: 0 / 7.264 GB, free: 8.715 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01593/23.62, allocations: 3.275 MB / 7.268 GB, free: 7.902 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 20 (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],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * 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 (201): * Single equations (assignments): 194 * 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.02932/23.65, allocations: 17.24 MB / 7.284 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01534/23.67, allocations: 6.652 MB / 7.291 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/23.67, allocations: 0.6719 kB / 7.291 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004651/23.67, allocations: 1.428 MB / 7.292 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0173/23.69, allocations: 3.03 MB / 7.295 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0344/23.72, allocations: 10.3 MB / 7.305 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007236/23.73, allocations: 3.627 MB / 7.309 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01606/23.75, allocations: 2.879 MB / 7.312 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006138/23.75, allocations: 2.615 MB / 7.314 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of SimCode: time 1.422e-06/23.75, allocations: 0 / 7.314 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.214/24.97, allocations: 224.1 MB / 7.533 GB, free: 57.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/24.97, allocations: 191.7 kB / 7.533 GB, free: 57.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/37.64, allocations: 0 / 7.533 GB, free: 57.09 MB / 0.8542 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)