Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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.Examples.ClosedLoop_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y",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.7726/0.7726, allocations: 127.4 MB / 134.9 MB, free: 3.746 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.001061/0.001061, allocations: 188.8 kB / 164.7 MB, free: 6.531 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.623/1.623, allocations: 205.2 MB / 399.5 MB, free: 5.957 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.0008929/0.0008927, allocations: 91.58 kB / 476.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.869e-05, allocations: 4 kB / 0.5467 GB, free: 60.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/5.594, allocations: 2.194 GB / 2.816 GB, free: 53.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/5.594, allocations: 95.95 kB / 2.816 GB, free: 53.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.772/8.366, allocations: 0.79 GB / 3.606 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/8.366, allocations: 3.281 kB / 3.606 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000197/8.366, allocations: 47.92 kB / 3.606 GB, free: 7.605 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005331/8.372, allocations: 1.879 MB / 3.608 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/8.372, allocations: 8.031 kB / 3.608 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/8.375, allocations: 469.4 kB / 3.608 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/8.38, allocations: 1.913 MB / 3.61 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/8.38, allocations: 32 kB / 3.61 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/8.38, allocations: 70.56 kB / 3.61 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/8.382, allocations: 0.8083 MB / 3.611 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/8.383, allocations: 1.003 MB / 3.612 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/8.383, allocations: 0 / 3.612 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/8.383, allocations: 0 / 3.612 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/8.383, allocations: 42 kB / 3.612 GB, free: 1.242 MB / 0.6511 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.007857/8.391, allocations: 4.762 MB / 3.616 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/8.393, allocations: 0.8749 MB / 3.617 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/8.394, allocations: 362.9 kB / 3.618 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/8.394, allocations: 113.7 kB / 3.618 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/8.394, allocations: 413.9 kB / 3.618 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008281/8.395, allocations: 59.5 kB / 3.618 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.467e-06/8.395, allocations: 0 / 3.618 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.00252/8.398, allocations: 0.8573 MB / 3.619 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/8.398, allocations: 188.5 kB / 3.619 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/8.4, allocations: 0.8943 MB / 3.62 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/8.4, allocations: 31.12 kB / 3.62 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007771/8.4, allocations: 0.6728 MB / 3.621 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/8.401, allocations: 236.5 kB / 3.621 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/8.401, allocations: 0 / 3.621 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001729/8.401, allocations: 337.9 kB / 3.621 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/8.402, allocations: 310.5 kB / 3.622 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/8.402, allocations: 0.574 MB / 3.622 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009042/8.403, allocations: 414.4 kB / 3.623 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/8.403, allocations: 0 / 3.623 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002133/8.405, allocations: 1.05 MB / 3.624 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009223/8.406, allocations: 1.985 MB / 3.625 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/8.406, allocations: 8 kB / 3.626 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/8.407, allocations: 100.8 kB / 3.626 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/8.408, allocations: 235.6 kB / 3.626 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/8.409, allocations: 1.31 MB / 3.627 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/8.411, allocations: 87.91 kB / 3.627 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/8.411, allocations: 47.98 kB / 3.627 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/8.411, allocations: 4 kB / 3.627 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4862/8.897, allocations: 0.831 MB / 3.628 GB, free: 87.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-05/8.897, allocations: 7.594 kB / 3.628 GB, free: 87.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/8.898, allocations: 109.4 kB / 3.628 GB, free: 87.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/8.899, allocations: 172.5 kB / 3.628 GB, free: 87.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/8.903, allocations: 2.609 MB / 3.631 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/8.905, allocations: 70.39 kB / 3.631 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/8.905, allocations: 46.88 kB / 3.631 GB, free: 86.07 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 93 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004/8.906, allocations: 138.9 kB / 3.631 GB, free: 85.96 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00247/8.908, allocations: 0.793 MB / 3.632 GB, free: 85.92 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/8.909, allocations: 135.8 kB / 3.632 GB, free: 85.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/8.911, allocations: 0.8729 MB / 3.633 GB, free: 85.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/8.911, allocations: 11.59 kB / 3.633 GB, free: 85.85 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/8.911, allocations: 3.5 kB / 3.633 GB, free: 85.85 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001883/8.913, allocations: 0.7851 MB / 3.634 GB, free: 85.67 MB / 0.6667 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.00476/8.918, allocations: 2.085 MB / 3.636 GB, free: 85.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/8.918, allocations: 3.875 kB / 3.636 GB, free: 85.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/8.919, allocations: 209.2 kB / 3.636 GB, free: 85.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/8.919, allocations: 64.09 kB / 3.636 GB, free: 85.26 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/8.919, allocations: 14.95 kB / 3.636 GB, free: 85.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/8.921, allocations: 1.94 MB / 3.638 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/8.921, allocations: 0 / 3.638 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/8.924, allocations: 1.357 MB / 3.639 GB, free: 83.16 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/8.924, allocations: 277.9 kB / 3.639 GB, free: 82.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/8.924, allocations: 12.98 kB / 3.639 GB, free: 82.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/8.925, allocations: 92.92 kB / 3.64 GB, free: 82.99 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/8.925, allocations: 53.56 kB / 3.64 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/8.926, allocations: 25.06 kB / 3.64 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009565/8.926, allocations: 0.6821 MB / 3.64 GB, free: 82.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.41e-07/8.926, allocations: 0 / 3.64 GB, free: 82.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003326/8.93, allocations: 1.001 MB / 3.641 GB, free: 82.83 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009139/8.939, allocations: 4.93 MB / 3.646 GB, free: 81.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004385/8.943, allocations: 1.564 MB / 3.648 GB, free: 80.78 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/8.943, allocations: 4.875 kB / 3.648 GB, free: 80.78 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/8.945, allocations: 419.6 kB / 3.648 GB, free: 80.77 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/8.948, allocations: 0.5851 MB / 3.649 GB, free: 80.76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/8.954, allocations: 2.412 MB / 3.651 GB, free: 80.15 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/8.955, allocations: 1.322 MB / 3.652 GB, free: 79.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002293/8.958, allocations: 464.3 kB / 3.653 GB, free: 79.42 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/8.958, allocations: 0.5502 MB / 3.653 GB, free: 79.42 MB / 0.6667 GB Notification: Performance of SimCode: time 9.51e-07/8.958, allocations: 0 / 3.653 GB, free: 79.42 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/9.062, allocations: 57.44 MB / 3.709 GB, free: 77.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/9.062, allocations: 168.8 kB / 3.709 GB, free: 77.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.163/13.22, allocations: 0 / 3.709 GB, free: 77.14 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)