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.001043/0.001043, 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.0009996/0.0009996, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00306/0.00306, allocations: 289.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3596, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y): time 0.5289/0.8885, allocations: 206 MB / 0.9683 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.9056, allocations: 15.38 MB / 0.9833 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.9077, allocations: 55.62 kB / 0.9833 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.9118, allocations: 1.74 MB / 0.985 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.9171, allocations: 2.634 MB / 0.9876 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.9204, allocations: 1.608 MB / 0.9892 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009717/0.9302, allocations: 9.155 MB / 0.9981 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.9318, allocations: 1.419 MB / 0.9995 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.9352, allocations: 2.082 MB / 1.002 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.937, allocations: 1.241 MB / 1.003 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.9372, allocations: 175.1 kB / 1.003 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.9413, allocations: 2.726 MB / 1.006 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.9419, allocations: 0.7401 MB / 1.006 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.9428, allocations: 1.077 MB / 1.007 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004267/0.947, allocations: 3.922 MB / 1.011 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.9471, allocations: 1.062 kB / 1.011 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9471, allocations: 0 / 1.011 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.699e-05/0.9471, allocations: 0 / 1.011 GB, free: 0.6211 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.004001/0.9511, allocations: 2.57 MB / 1.014 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.9511, allocations: 10.66 kB / 1.014 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.955, allocations: 0.6167 MB / 1.014 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.9589, allocations: 2.221 MB / 1.016 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.959, allocations: 80.88 kB / 1.017 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.9591, allocations: 107.4 kB / 1.017 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.9613, allocations: 1.299 MB / 1.018 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.9613, allocations: 4.125 kB / 1.018 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.9614, allocations: 41.06 kB / 1.018 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.9615, allocations: 39.28 kB / 1.018 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.9635, allocations: 1.018 MB / 1.019 GB, free: 14.51 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.006188/0.9697, allocations: 5.528 MB / 1.024 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.9719, allocations: 0.9054 MB / 1.025 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009765/0.9729, allocations: 499.1 kB / 1.026 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.9731, allocations: 109.4 kB / 1.026 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.9742, allocations: 0.5769 MB / 1.026 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 2.885e-06/0.9742, allocations: 3.938 kB / 1.026 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.003636/0.9779, allocations: 1.477 MB / 1.028 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.9779, allocations: 57.03 kB / 1.028 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.9798, allocations: 1.719 MB / 1.03 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.9799, allocations: 41.14 kB / 1.03 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.9804, allocations: 0.7755 MB / 1.03 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.9807, allocations: 251.2 kB / 1.031 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/0.9811, allocations: 290.2 kB / 1.031 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9812, allocations: 356.9 kB / 1.031 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.9825, allocations: 0.7603 MB / 1.032 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.9839, allocations: 1.044 MB / 1.033 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.9864, allocations: 1.707 MB / 1.035 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9864, allocations: 0 / 1.035 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003462/0.9899, allocations: 2.123 MB / 1.037 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.99, allocations: 37.92 kB / 1.037 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.99, allocations: 5.5 kB / 1.037 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.9904, allocations: 159.5 kB / 1.037 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.9916, allocations: 269.8 kB / 1.037 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008001/0.9924, allocations: 1.232 MB / 1.038 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.9938, allocations: 147.7 kB / 1.039 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9939, allocations: 61.05 kB / 1.039 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001675/0.9956, allocations: 1.084 MB / 1.04 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001258/0.9969, allocations: 0.9355 MB / 1.041 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002197/0.9991, allocations: 1.5 MB / 1.042 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/0.9991, allocations: 4 kB / 1.042 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003388/1.003, allocations: 1.932 MB / 1.044 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/1.003, allocations: 37.08 kB / 1.044 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.003, allocations: 8 kB / 1.044 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/1.003, allocations: 180.7 kB / 1.044 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.004, allocations: 263.6 kB / 1.044 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/1.009, allocations: 3.384 MB / 1.048 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.01, allocations: 127.7 kB / 1.048 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.01, allocations: 51.98 kB / 1.048 GB, free: 13.76 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.0003078/1.011, allocations: 246.3 kB / 1.048 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/1.011, allocations: 169.8 kB / 1.048 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/1.014, allocations: 1.113 MB / 1.049 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00204/1.016, allocations: 0.9732 MB / 1.05 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.016, allocations: 0 / 1.05 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/1.016, allocations: 338.6 kB / 1.051 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/1.016, allocations: 16 kB / 1.051 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009057/1.017, allocations: 49.83 kB / 1.051 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.018, allocations: 56.48 kB / 1.051 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002876/1.02, allocations: 1.106 MB / 1.052 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002977/1.023, allocations: 1.632 MB / 1.053 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00083/1.024, allocations: 404.2 kB / 1.054 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00163/1.026, allocations: 1.162 MB / 1.055 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of Backend: time 9.21e-07/1.026, allocations: 3.094 kB / 1.055 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006184/1.032, allocations: 3.04 MB / 1.058 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of SimCode: time 0.006678/1.039, allocations: 4.189 MB / 1.062 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of Templates: time 0.06785/1.107, allocations: 46.49 MB / 1.107 GB, free: 1.387 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)