Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.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.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.0009864/0.0009865, 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 291.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 92.09 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3601, allocations: 86.99 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6301/0.9902, allocations: 325 MB / 1.084 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02881/1.019, allocations: 22.3 MB / 1.106 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/1.023, allocations: 95.03 kB / 1.106 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006083/1.029, allocations: 2.396 MB / 1.109 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/1.04, allocations: 4.683 MB / 1.113 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/1.046, allocations: 2.571 MB / 1.116 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01632/1.062, allocations: 12.18 MB / 1.128 GB, free: 7.602 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003438/1.065, allocations: 2.248 MB / 1.13 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/1.072, allocations: 3.312 MB / 1.133 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/1.075, allocations: 1.867 MB / 1.135 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000698/1.076, allocations: 240 kB / 1.135 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007409/1.084, allocations: 3.882 MB / 1.139 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001388/1.085, allocations: 1.157 MB / 1.14 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/1.088, allocations: 1.71 MB / 1.142 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008807/1.096, allocations: 5.85 MB / 1.147 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.096, allocations: 4 kB / 1.147 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.442e-06/1.096, allocations: 0 / 1.147 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001271/1.097, allocations: 4 kB / 1.147 GB, free: 3.23 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007683/1.104, allocations: 3.808 MB / 1.151 GB, free: 15.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/1.104, allocations: 8.031 kB / 1.151 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007216/1.112, allocations: 1.096 MB / 1.152 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006498/1.118, allocations: 4.033 MB / 1.156 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/1.118, allocations: 114.8 kB / 1.156 GB, free: 10.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/1.118, allocations: 155.9 kB / 1.156 GB, free: 9.867 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/1.122, allocations: 1.711 MB / 1.158 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.122, allocations: 7.938 kB / 1.158 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.122, allocations: 56 kB / 1.158 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/1.122, allocations: 46.59 kB / 1.158 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/1.126, allocations: 1.447 MB / 1.16 GB, free: 6.52 MB / 0.795 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.01048/1.136, allocations: 8.668 MB / 1.168 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/1.138, allocations: 1.015 MB / 1.169 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/1.14, allocations: 0.5059 MB / 1.17 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/1.14, allocations: 101.6 kB / 1.17 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/1.14, allocations: 43.12 kB / 1.17 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.14, allocations: 4 kB / 1.17 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.003963/1.144, allocations: 1.464 MB / 1.171 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/1.144, allocations: 59.97 kB / 1.171 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/1.147, allocations: 2.979 MB / 1.174 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/1.147, allocations: 45.7 kB / 1.174 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009609/1.148, allocations: 1.268 MB / 1.175 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.149, allocations: 260.4 kB / 1.176 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/1.149, allocations: 434.9 kB / 1.176 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/1.149, allocations: 305.1 kB / 1.176 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.151, allocations: 0.8167 MB / 1.177 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/1.153, allocations: 1.318 MB / 1.178 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/1.156, allocations: 1.903 MB / 1.18 GB, free: 268 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.156, allocations: 4 kB / 1.18 GB, free: 264 kB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004167/1.16, allocations: 2.392 MB / 1.183 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.16, allocations: 8.469 kB / 1.183 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.16, allocations: 16 kB / 1.183 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.16, allocations: 20 kB / 1.183 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.162, allocations: 391.3 kB / 1.183 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003507/1.162, allocations: 0.6093 MB / 1.184 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.164, allocations: 238.1 kB / 1.184 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.164, allocations: 71.98 kB / 1.184 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00227/1.166, allocations: 1.437 MB / 1.185 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/1.168, allocations: 1.283 MB / 1.187 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002844/1.171, allocations: 1.869 MB / 1.188 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.49e-06/1.171, allocations: 0 / 1.188 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.003829/1.175, allocations: 2.357 MB / 1.191 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.175, allocations: 15.5 kB / 1.191 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.175, allocations: 12 kB / 1.191 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.175, allocations: 20 kB / 1.191 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.176, allocations: 355.5 kB / 1.191 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/1.176, allocations: 31.86 kB / 1.191 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.178, allocations: 194.8 kB / 1.191 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.178, allocations: 67.98 kB / 1.191 GB, free: 4.504 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003176/1.179, allocations: 263.8 kB / 1.192 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/1.179, allocations: 272.4 kB / 1.192 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/1.182, allocations: 1.126 MB / 1.193 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002283/1.184, allocations: 0.9217 MB / 1.194 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.184, allocations: 0 / 1.194 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/1.185, allocations: 469.3 kB / 1.194 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/1.185, allocations: 16 kB / 1.194 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.187, allocations: 95.8 kB / 1.194 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/1.187, allocations: 44.59 kB / 1.195 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003326/1.19, allocations: 1.107 MB / 1.196 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003927/1.194, allocations: 1.792 MB / 1.197 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001108/1.195, allocations: 449 kB / 1.198 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003168/1.198, allocations: 1.995 MB / 1.2 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Backend: time 1.823e-06/1.198, allocations: 4 kB / 1.2 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007703/1.206, allocations: 3.249 MB / 1.203 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of SimCode: time 0.01155/1.218, allocations: 6.257 MB / 1.209 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of Templates: time 0.0935/1.311, allocations: 63.56 MB / 1.271 GB, free: 3.523 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)