Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y") translateModel(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8181/0.8181, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 183.3 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 447.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 90.22 kB / 0.5188 GB, free: 1.117 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 273.3 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006086/0.0006085, allocations: 14.66 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1965, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.605, allocations: 1.908 GB / 2.682 GB, free: 167.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/4.605, allocations: 103.8 kB / 2.682 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.606/7.211, allocations: 0.8109 GB / 3.493 GB, free: 99.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/7.211, allocations: 0 / 3.493 GB, free: 99.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001697/7.211, allocations: 38.19 kB / 3.493 GB, free: 99.71 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005823/7.217, allocations: 2.313 MB / 3.495 GB, free: 98.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/7.217, allocations: 11.56 kB / 3.495 GB, free: 98.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/7.22, allocations: 425 kB / 3.496 GB, free: 98.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/7.224, allocations: 1.822 MB / 3.497 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/7.224, allocations: 78.97 kB / 3.498 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/7.224, allocations: 110.7 kB / 3.498 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/7.226, allocations: 1.159 MB / 3.499 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/7.226, allocations: 2.594 kB / 3.499 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/7.226, allocations: 47.23 kB / 3.499 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/7.226, allocations: 35.03 kB / 3.499 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/7.228, allocations: 0.9123 MB / 3.5 GB, free: 98.19 MB / 0.7136 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.006088/7.234, allocations: 4.937 MB / 3.505 GB, free: 95.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/7.236, allocations: 0.945 MB / 3.506 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/7.236, allocations: 105.4 kB / 3.506 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008133/7.237, allocations: 490.7 kB / 3.506 GB, free: 95.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006313/7.237, allocations: 93.34 kB / 3.506 GB, free: 95.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.105e-06/7.237, allocations: 0 / 3.506 GB, free: 95.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.002888/7.24, allocations: 1.285 MB / 3.507 GB, free: 95.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/7.24, allocations: 112.7 kB / 3.508 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/7.241, allocations: 1.008 MB / 3.509 GB, free: 95.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/7.242, allocations: 48.8 kB / 3.509 GB, free: 95.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/7.242, allocations: 0.6469 MB / 3.509 GB, free: 94.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/7.242, allocations: 259.1 kB / 3.509 GB, free: 94.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/7.242, allocations: 14.16 kB / 3.509 GB, free: 94.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.73e-05/7.242, allocations: 342.3 kB / 3.51 GB, free: 94.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/7.243, allocations: 330 kB / 3.51 GB, free: 94.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/7.244, allocations: 0.5963 MB / 3.511 GB, free: 94.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/7.244, allocations: 446.3 kB / 3.511 GB, free: 94.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/7.244, allocations: 3.953 kB / 3.511 GB, free: 94.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001908/7.246, allocations: 1.118 MB / 3.512 GB, free: 93.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003311/7.247, allocations: 2.071 MB / 3.514 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/7.247, allocations: 6.5 kB / 3.514 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/7.247, allocations: 72.3 kB / 3.514 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/7.248, allocations: 209.3 kB / 3.515 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/7.249, allocations: 1.204 MB / 3.516 GB, free: 90.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/7.25, allocations: 107.9 kB / 3.516 GB, free: 90.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/7.25, allocations: 48.12 kB / 3.516 GB, free: 90.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/7.25, allocations: 3.812 kB / 3.516 GB, free: 90.71 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/7.252, allocations: 1.014 MB / 3.517 GB, free: 90.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/7.252, allocations: 6.312 kB / 3.517 GB, free: 90.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/7.253, allocations: 110.4 kB / 3.517 GB, free: 90.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/7.254, allocations: 194.2 kB / 3.517 GB, free: 90.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/7.257, allocations: 2.735 MB / 3.52 GB, free: 88.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/7.258, allocations: 95.39 kB / 3.52 GB, free: 88.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/7.258, allocations: 51 kB / 3.52 GB, free: 88.92 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0008017/7.259, allocations: 460.6 kB / 3.52 GB, free: 88.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/7.259, allocations: 135.3 kB / 3.521 GB, free: 88.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/7.261, allocations: 0.986 MB / 3.521 GB, free: 88.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/7.261, allocations: 15.03 kB / 3.521 GB, free: 88.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/7.261, allocations: 0 / 3.521 GB, free: 88.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/7.263, allocations: 0.8827 MB / 3.522 GB, free: 88.38 MB / 0.7136 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.00391/7.267, allocations: 2.314 MB / 3.525 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/7.267, allocations: 5.062 kB / 3.525 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008188/7.268, allocations: 172.8 kB / 3.525 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/7.268, allocations: 86.02 kB / 3.525 GB, free: 87.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/7.268, allocations: 26.25 kB / 3.525 GB, free: 87.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004225/7.268, allocations: 1.193 MB / 3.526 GB, free: 86.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/7.268, allocations: 0 / 3.526 GB, free: 86.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/7.271, allocations: 1.532 MB / 3.528 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/7.271, allocations: 279.5 kB / 3.528 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/7.272, allocations: 18.88 kB / 3.528 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/7.272, allocations: 104.4 kB / 3.528 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/7.273, allocations: 51.08 kB / 3.528 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/7.273, allocations: 28.3 kB / 3.528 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001077/7.274, allocations: 0.7881 MB / 3.529 GB, free: 86.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/7.274, allocations: 0 / 3.529 GB, free: 86.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0029/7.277, allocations: 1.053 MB / 3.53 GB, free: 86.03 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[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 (68): * Single equations (assignments): 64 * 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.003638/7.28, allocations: 2.725 MB / 3.532 GB, free: 85.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003219/7.284, allocations: 1.596 MB / 3.534 GB, free: 84.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/7.284, allocations: 1.5 kB / 3.534 GB, free: 84.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008477/7.284, allocations: 420 kB / 3.534 GB, free: 84.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/7.287, allocations: 0.6351 MB / 3.535 GB, free: 84.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/7.292, allocations: 3.125 MB / 3.538 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/7.293, allocations: 1.309 MB / 3.539 GB, free: 82.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001485/7.294, allocations: 333.8 kB / 3.54 GB, free: 82.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/7.294, allocations: 98.72 kB / 3.54 GB, free: 82.74 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/7.294, allocations: 2.406 kB / 3.54 GB, free: 82.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.06529/7.36, allocations: 52.82 MB / 3.591 GB, free: 61.66 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)