Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.0008661, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008684/0.0008685, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 18.03 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.5776/0.7893, allocations: 170.3 MB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.8103, allocations: 14.64 MB / 0.9677 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.8125, allocations: 45.5 kB / 0.9678 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.8152, allocations: 0.7643 MB / 0.9685 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00667/0.8219, allocations: 2.095 MB / 0.9706 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007498/0.8294, allocations: 2.315 MB / 0.9728 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004222/0.8336, allocations: 2.134 MB / 0.9749 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.8351, allocations: 1.065 MB / 0.9759 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.838, allocations: 1.459 MB / 0.9774 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.8391, allocations: 0.7462 MB / 0.9781 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.8393, allocations: 58.31 kB / 0.9781 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.8423, allocations: 1.262 MB / 0.9794 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.8428, allocations: 454.6 kB / 0.9798 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007213/0.8436, allocations: 351.6 kB / 0.9801 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.8463, allocations: 2.236 MB / 0.9823 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.8463, allocations: 0 / 0.9823 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8463, allocations: 0 / 0.9823 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.8463, allocations: 4 kB / 0.9823 GB, free: 19.89 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003201/0.8495, allocations: 1.9 MB / 0.9842 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.8496, allocations: 10.84 kB / 0.9842 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.8521, allocations: 455 kB / 0.9846 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.8549, allocations: 1.309 MB / 0.9859 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.8549, allocations: 78.34 kB / 0.986 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.8551, allocations: 110.5 kB / 0.9861 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.8568, allocations: 1.162 MB / 0.9872 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.8569, allocations: 2.625 kB / 0.9872 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.857, allocations: 45.17 kB / 0.9873 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.857, allocations: 34.06 kB / 0.9873 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.8587, allocations: 0.8811 MB / 0.9882 GB, free: 17.28 MB / 0.7325 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.005455/0.8642, allocations: 4.865 MB / 0.9929 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.8657, allocations: 0.7821 MB / 0.9937 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.8658, allocations: 22.41 kB / 0.9937 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007273/0.8665, allocations: 450.6 kB / 0.9941 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004639/0.867, allocations: 75.41 kB / 0.9942 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.996e-06/0.867, allocations: 0 / 0.9942 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002524/0.8695, allocations: 1.218 MB / 0.9954 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.8696, allocations: 137.2 kB / 0.9955 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.8708, allocations: 1.168 MB / 0.9967 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.8709, allocations: 46.55 kB / 0.9967 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.8714, allocations: 0.6647 MB / 0.9974 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.8716, allocations: 243.9 kB / 0.9976 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.8716, allocations: 18.31 kB / 0.9976 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.8717, allocations: 338.3 kB / 0.9979 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.8723, allocations: 342.4 kB / 0.9983 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.8731, allocations: 0.587 MB / 0.9988 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.8738, allocations: 444.1 kB / 0.9993 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8738, allocations: 0 / 0.9993 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001974/0.8758, allocations: 1.16 MB / 1 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006956/0.8765, allocations: 2.157 MB / 1.002 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.8765, allocations: 14.27 kB / 1.003 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.8769, allocations: 80.95 kB / 1.003 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.8777, allocations: 200.7 kB / 1.003 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008001/0.8785, allocations: 1.212 MB / 1.004 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.8796, allocations: 91.3 kB / 1.004 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.8797, allocations: 49.23 kB / 1.004 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.8797, allocations: 5.875 kB / 1.004 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/0.8815, allocations: 1.054 MB / 1.005 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8815, allocations: 7.438 kB / 1.005 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.882, allocations: 153.8 kB / 1.005 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.8827, allocations: 180.9 kB / 1.005 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.8866, allocations: 2.886 MB / 1.008 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.8879, allocations: 81.31 kB / 1.008 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.888, allocations: 43.17 kB / 1.008 GB, free: 5.609 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (100): * Single equations (assignments): 94 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007713/0.8888, allocations: 474.1 kB / 1.009 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.8889, allocations: 133.5 kB / 1.009 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.8908, allocations: 0.9386 MB / 1.01 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.8908, allocations: 8.938 kB / 1.01 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.8908, allocations: 0 / 1.01 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.8922, allocations: 0.8306 MB / 1.011 GB, free: 4.781 MB / 0.7325 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.003588/0.8958, allocations: 2.212 MB / 1.013 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.8958, allocations: 2.812 kB / 1.013 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.8966, allocations: 160.3 kB / 1.013 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.8968, allocations: 82.27 kB / 1.013 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.8969, allocations: 27.91 kB / 1.013 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006318/0.8975, allocations: 1.188 MB / 1.014 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8975, allocations: 0 / 1.014 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.8998, allocations: 1.441 MB / 1.016 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.9003, allocations: 281.9 kB / 1.016 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.9005, allocations: 16.28 kB / 1.016 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.9012, allocations: 84.27 kB / 1.016 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.9014, allocations: 58.56 kB / 1.016 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.9014, allocations: 26.83 kB / 1.016 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009815/0.9024, allocations: 0.7871 MB / 1.017 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9024, allocations: 0 / 1.017 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002134/0.9046, allocations: 0.8261 MB / 1.018 GB, free: 1.602 MB / 0.7325 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.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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009978/0.9056, allocations: 450.1 kB / 1.018 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.9085, allocations: 1.624 MB / 1.02 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9085, allocations: 0 / 1.02 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.9093, allocations: 402.7 kB / 1.02 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.9119, allocations: 0.641 MB / 1.021 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.9163, allocations: 3.135 MB / 1.024 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.9172, allocations: 1.316 MB / 1.025 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001437/0.9186, allocations: 343.3 kB / 1.025 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.9189, allocations: 105.8 kB / 1.026 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/0.9189, allocations: 1.75 kB / 1.026 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.04165/0.9606, allocations: 27.95 MB / 1.053 GB, free: 1.203 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: