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.7547/0.7547, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001186/0.001186, allocations: 195.9 kB / 173.8 MB, free: 6.117 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.784/1.784, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009458/0.0009454, allocations: 98.61 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003632, allocations: 8.75 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.179, allocations: 76.78 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.277/5.456, allocations: 2.194 GB / 2.83 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/5.456, allocations: 102.2 kB / 2.83 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.423/7.88, allocations: 0.8 GB / 3.63 GB, free: 84.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.834e-06/7.88, allocations: 1.688 kB / 3.63 GB, free: 84.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002817/7.88, allocations: 42.06 kB / 3.63 GB, free: 84.34 MB / 0.6667 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.008714/7.889, allocations: 2.383 MB / 3.632 GB, free: 83.31 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/7.889, allocations: 11.28 kB / 3.632 GB, free: 83.31 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005733/7.889, allocations: 149.4 kB / 3.632 GB, free: 83.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/7.893, allocations: 477.7 kB / 3.633 GB, free: 83.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005952/7.899, allocations: 1.928 MB / 3.635 GB, free: 82.73 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/7.899, allocations: 81.41 kB / 3.635 GB, free: 82.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/7.9, allocations: 107.1 kB / 3.635 GB, free: 82.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/7.903, allocations: 1.244 MB / 3.636 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/7.903, allocations: 0 / 3.636 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/7.903, allocations: 45.28 kB / 3.636 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/7.903, allocations: 36.12 kB / 3.636 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/7.906, allocations: 0.9579 MB / 3.637 GB, free: 82.54 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008375/7.914, allocations: 4.959 MB / 3.642 GB, free: 80.22 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/7.917, allocations: 0.9811 MB / 3.643 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/7.917, allocations: 108.4 kB / 3.643 GB, free: 80 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/7.918, allocations: 0.5046 MB / 3.643 GB, free: 79.94 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009069/7.919, allocations: 89.91 kB / 3.644 GB, free: 79.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 5.761e-06/7.919, allocations: 0 / 3.644 GB, free: 79.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.003946/7.923, allocations: 1.345 MB / 3.645 GB, free: 79.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/7.923, allocations: 194.9 kB / 3.645 GB, free: 79.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/7.925, allocations: 1.027 MB / 3.646 GB, free: 79.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/7.925, allocations: 47.33 kB / 3.646 GB, free: 79.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005871/7.926, allocations: 0.6701 MB / 3.647 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/7.926, allocations: 246.1 kB / 3.647 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/7.926, allocations: 17.78 kB / 3.647 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/7.926, allocations: 341.7 kB / 3.647 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/7.927, allocations: 344.2 kB / 3.648 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000846/7.928, allocations: 0.6219 MB / 3.648 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/7.928, allocations: 463.2 kB / 3.649 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/7.928, allocations: 0 / 3.649 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002243/7.931, allocations: 1.169 MB / 3.65 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004094/7.931, allocations: 1.984 MB / 3.652 GB, free: 75.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/7.931, allocations: 7.156 kB / 3.652 GB, free: 75.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/7.932, allocations: 93.75 kB / 3.652 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/7.933, allocations: 226.9 kB / 3.652 GB, free: 75.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/7.934, allocations: 1.257 MB / 3.653 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/7.936, allocations: 103.4 kB / 3.653 GB, free: 74.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/7.936, allocations: 55.09 kB / 3.653 GB, free: 74.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/7.936, allocations: 6.719 kB / 3.653 GB, free: 74.85 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00185/7.938, allocations: 0.9899 MB / 3.654 GB, free: 74.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/7.938, allocations: 10.25 kB / 3.654 GB, free: 74.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/7.938, allocations: 108.5 kB / 3.655 GB, free: 74.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/7.939, allocations: 177.5 kB / 3.655 GB, free: 74.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/7.942, allocations: 2.741 MB / 3.657 GB, free: 72.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/7.944, allocations: 88.66 kB / 3.657 GB, free: 72.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/7.944, allocations: 48.53 kB / 3.658 GB, free: 72.98 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 () * Number of clocked 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.0009374/7.945, allocations: 481.7 kB / 3.658 GB, free: 72.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/7.945, allocations: 137.7 kB / 3.658 GB, free: 72.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/7.948, allocations: 1.029 MB / 3.659 GB, free: 72.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/7.948, allocations: 7.219 kB / 3.659 GB, free: 72.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/7.948, allocations: 0 / 3.659 GB, free: 72.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/7.95, allocations: 0.9094 MB / 3.66 GB, free: 72.2 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005174/7.955, allocations: 2.341 MB / 3.662 GB, free: 71.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.955, allocations: 0 / 3.662 GB, free: 71.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/7.956, allocations: 208.4 kB / 3.663 GB, free: 71.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/7.957, allocations: 97.25 kB / 3.663 GB, free: 71.05 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/7.957, allocations: 21.72 kB / 3.663 GB, free: 71.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/7.959, allocations: 2.007 MB / 3.665 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/7.959, allocations: 5.406 kB / 3.665 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/7.962, allocations: 1.543 MB / 3.666 GB, free: 68.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/7.963, allocations: 282.1 kB / 3.666 GB, free: 68.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/7.963, allocations: 23 kB / 3.666 GB, free: 68.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/7.965, allocations: 109.5 kB / 3.666 GB, free: 68.14 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/7.965, allocations: 54.27 kB / 3.667 GB, free: 68.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/7.965, allocations: 28.36 kB / 3.667 GB, free: 68.13 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001372/7.966, allocations: 0.8035 MB / 3.667 GB, free: 67.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/7.966, allocations: 0 / 3.667 GB, free: 67.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003909/7.97, allocations: 1.095 MB / 3.668 GB, free: 67.49 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) * Number of clocked states: 0 () * 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.008535/7.979, allocations: 5.008 MB / 3.673 GB, free: 65.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00446/7.983, allocations: 1.702 MB / 3.675 GB, free: 64.36 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/7.983, allocations: 0 / 3.675 GB, free: 64.36 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/7.985, allocations: 482.7 kB / 3.675 GB, free: 64.23 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/7.988, allocations: 0.6437 MB / 3.676 GB, free: 64.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/7.996, allocations: 7.287 MB / 3.683 GB, free: 58.46 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/7.997, allocations: 1.326 MB / 3.684 GB, free: 57.67 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001567/7.998, allocations: 338.6 kB / 3.685 GB, free: 57.61 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/7.999, allocations: 0.5677 MB / 3.685 GB, free: 57.17 MB / 0.6667 GB Notification: Performance of SimCode: time 7.91e-07/7.999, allocations: 0 / 3.685 GB, free: 57.17 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/8.105, allocations: 74.49 MB / 3.758 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/8.105, allocations: 245.7 kB / 3.758 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.554/12.66, allocations: 0 / 3.758 GB, free: 5.684 MB / 0.6823 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)