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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001659/0.001659, allocations: 192.3 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 288.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 99.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3662, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y): time 0.5372/0.9035, allocations: 206.1 MB / 0.9683 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.92, allocations: 15.38 MB / 0.9833 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.9217, allocations: 57.28 kB / 0.9833 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.9253, allocations: 1.764 MB / 0.9851 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00479/0.9301, allocations: 2.725 MB / 0.9877 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.9332, allocations: 1.609 MB / 0.9893 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00927/0.9424, allocations: 9.161 MB / 0.9982 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.944, allocations: 1.421 MB / 0.9996 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.9471, allocations: 2.121 MB / 1.002 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.9487, allocations: 1.247 MB / 1.003 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.9489, allocations: 175.5 kB / 1.003 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.9529, allocations: 2.731 MB / 1.006 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.9534, allocations: 0.731 MB / 1.006 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008333/0.9543, allocations: 1.083 MB / 1.008 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.9581, allocations: 3.921 MB / 1.011 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.9581, allocations: 2.406 kB / 1.011 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9582, allocations: 0 / 1.011 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.9582, allocations: 0.8125 kB / 1.011 GB, free: 0.5898 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003999/0.9622, allocations: 2.565 MB / 1.014 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.9622, allocations: 13.06 kB / 1.014 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003853/0.9661, allocations: 0.6206 MB / 1.014 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.9701, allocations: 2.216 MB / 1.017 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.9701, allocations: 82.44 kB / 1.017 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.9703, allocations: 110.3 kB / 1.017 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.9725, allocations: 1.291 MB / 1.018 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.9725, allocations: 3.531 kB / 1.018 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9726, allocations: 37.5 kB / 1.018 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.9727, allocations: 40.44 kB / 1.018 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.9747, allocations: 1.021 MB / 1.019 GB, free: 14.48 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.00604/0.9808, allocations: 5.534 MB / 1.025 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.983, allocations: 0.9057 MB / 1.025 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.984, allocations: 0.4901 MB / 1.026 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.9842, allocations: 107 kB / 1.026 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.9854, allocations: 0.5761 MB / 1.027 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 2.655e-06/0.9854, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.003568/0.989, allocations: 1.468 MB / 1.028 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.989, allocations: 63.44 kB / 1.028 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.9908, allocations: 1.719 MB / 1.03 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.53e-05/0.9909, allocations: 43.52 kB / 1.03 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.9914, allocations: 0.7761 MB / 1.031 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.9916, allocations: 244.6 kB / 1.031 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.992, allocations: 291.8 kB / 1.031 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9921, allocations: 361.1 kB / 1.031 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.9934, allocations: 0.7657 MB / 1.032 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.9948, allocations: 1.043 MB / 1.033 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.9973, allocations: 1.707 MB / 1.035 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.9973, allocations: 0 / 1.035 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003238/1.001, allocations: 2.123 MB / 1.037 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.001, allocations: 34.33 kB / 1.037 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.001, allocations: 8.438 kB / 1.037 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/1.001, allocations: 167.6 kB / 1.037 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.002, allocations: 266.9 kB / 1.037 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007748/1.003, allocations: 1.232 MB / 1.039 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.004, allocations: 148.9 kB / 1.039 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.004, allocations: 63.5 kB / 1.039 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001565/1.006, allocations: 1.074 MB / 1.04 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001247/1.007, allocations: 0.9422 MB / 1.041 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0022/1.009, allocations: 1.495 MB / 1.042 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/1.009, allocations: 4 kB / 1.042 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003284/1.013, allocations: 1.932 MB / 1.044 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.013, allocations: 37.69 kB / 1.044 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.013, allocations: 8 kB / 1.044 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/1.013, allocations: 185.1 kB / 1.044 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.014, allocations: 244.4 kB / 1.045 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/1.019, allocations: 3.388 MB / 1.048 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.02, allocations: 127.7 kB / 1.048 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.02, allocations: 51.98 kB / 1.048 GB, free: 13.6 MB / 0.7481 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002588/1.021, allocations: 239.9 kB / 1.048 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.021, allocations: 177.8 kB / 1.048 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/1.023, allocations: 1.113 MB / 1.05 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/1.026, allocations: 0.9732 MB / 1.05 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.026, allocations: 0 / 1.05 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/1.026, allocations: 338.6 kB / 1.051 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.026, allocations: 20 kB / 1.051 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/1.027, allocations: 56.69 kB / 1.051 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.027, allocations: 52.48 kB / 1.051 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002952/1.03, allocations: 1.103 MB / 1.052 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003006/1.033, allocations: 1.628 MB / 1.054 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008559/1.034, allocations: 412.2 kB / 1.054 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001525/1.036, allocations: 1.158 MB / 1.055 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of Backend: time 5.91e-07/1.036, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006128/1.042, allocations: 3.041 MB / 1.058 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of SimCode: time 0.006539/1.048, allocations: 4.197 MB / 1.062 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of Templates: time 0.06532/1.114, allocations: 46.48 MB / 1.108 GB, free: 1.219 MB / 0.795 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)