Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001578/0.001578, allocations: 113.1 kB / 17.09 MB, free: 5.949 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.001874/0.001874, allocations: 198.8 kB / 18.03 MB, free: 5.031 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7624/0.7624, allocations: 122.8 MB / 414.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.41 kB / 0.5691 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1297, allocations: 77.94 MB / 0.6452 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.635/0.7647, allocations: 325 MB / 0.9626 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0316/0.7963, allocations: 22.27 MB / 0.9844 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.7997, allocations: 95.5 kB / 0.9845 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006398/0.8061, allocations: 2.397 MB / 0.9868 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.8176, allocations: 4.69 MB / 0.9914 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.8241, allocations: 2.557 MB / 0.9939 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01708/0.8412, allocations: 12.19 MB / 1.006 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/0.8449, allocations: 2.229 MB / 1.008 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006899/0.8518, allocations: 3.328 MB / 1.011 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.8554, allocations: 1.882 MB / 1.013 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009059/0.8563, allocations: 240 kB / 1.013 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007837/0.8642, allocations: 3.882 MB / 1.017 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.8659, allocations: 1.153 MB / 1.018 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.8694, allocations: 1.706 MB / 1.02 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.8801, allocations: 5.842 MB / 1.026 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8802, allocations: 7.938 kB / 1.026 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8802, allocations: 4 kB / 1.026 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001373/0.8803, allocations: 0 / 1.026 GB, free: 5.66 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.008396/0.8887, allocations: 3.805 MB / 1.029 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8888, allocations: 8.625 kB / 1.029 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007523/0.8963, allocations: 1.096 MB / 1.03 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00777/0.9041, allocations: 4.037 MB / 1.034 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.9043, allocations: 118.7 kB / 1.034 GB, free: 12.45 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/0.9047, allocations: 152 kB / 1.035 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.9088, allocations: 1.719 MB / 1.036 GB, free: 10.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.9088, allocations: 0 / 1.036 GB, free: 10.5 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.909, allocations: 56 kB / 1.036 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.9091, allocations: 50.59 kB / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003834/0.9129, allocations: 1.443 MB / 1.038 GB, free: 8.949 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.01268/0.9256, allocations: 8.672 MB / 1.046 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.9279, allocations: 1.029 MB / 1.047 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.9292, allocations: 0.4983 MB / 1.048 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.9294, allocations: 105.6 kB / 1.048 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.9295, allocations: 47.12 kB / 1.048 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/0.9295, allocations: 4 kB / 1.048 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.004274/0.9338, allocations: 1.46 MB / 1.049 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.9338, allocations: 55.97 kB / 1.049 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/0.9384, allocations: 2.983 MB / 1.052 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.9386, allocations: 45.7 kB / 1.052 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.9397, allocations: 1.268 MB / 1.054 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.94, allocations: 260.4 kB / 1.054 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/0.9406, allocations: 427 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.9407, allocations: 305.1 kB / 1.055 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.9424, allocations: 0.8207 MB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.9444, allocations: 1.31 MB / 1.057 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.9477, allocations: 1.903 MB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.9477, allocations: 4 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004742/0.9525, allocations: 2.396 MB / 1.061 GB, free: 280 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.9525, allocations: 13.41 kB / 1.061 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.9526, allocations: 16.03 kB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.145e-05/0.9526, allocations: 19.94 kB / 1.061 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2784/1.231, allocations: 380 kB / 1.061 GB, free: 329.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000335/1.231, allocations: 0.6072 MB / 1.062 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/1.234, allocations: 237.2 kB / 1.062 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.234, allocations: 73.38 kB / 1.062 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002547/1.236, allocations: 1.434 MB / 1.063 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001671/1.238, allocations: 1.293 MB / 1.065 GB, free: 328.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002803/1.241, allocations: 1.863 MB / 1.067 GB, free: 327.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.816e-06/1.241, allocations: 2.625 kB / 1.067 GB, free: 327.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004358/1.245, allocations: 2.358 MB / 1.069 GB, free: 327 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.245, allocations: 9.938 kB / 1.069 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.245, allocations: 12 kB / 1.069 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/1.245, allocations: 19.34 kB / 1.069 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.247, allocations: 366.2 kB / 1.069 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/1.247, allocations: 26.17 kB / 1.069 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/1.249, allocations: 193.5 kB / 1.069 GB, free: 326.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.249, allocations: 67.34 kB / 1.07 GB, free: 326.9 MB / 0.8106 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.0003535/1.249, allocations: 270.6 kB / 1.07 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/1.25, allocations: 270.8 kB / 1.07 GB, free: 326.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/1.253, allocations: 1.125 MB / 1.071 GB, free: 326.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/1.255, allocations: 0.9201 MB / 1.072 GB, free: 325.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.255, allocations: 2.812 kB / 1.072 GB, free: 325.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/1.256, allocations: 478.2 kB / 1.073 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/1.256, allocations: 20.14 kB / 1.073 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.257, allocations: 80.08 kB / 1.073 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.257, allocations: 43.83 kB / 1.073 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003292/1.261, allocations: 1.102 MB / 1.074 GB, free: 325.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003877/1.264, allocations: 1.797 MB / 1.075 GB, free: 324.3 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001193/1.266, allocations: 450.5 kB / 1.076 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002753/1.268, allocations: 1.992 MB / 1.078 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of Backend: time 4.81e-07/1.268, allocations: 0 / 1.078 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006985/1.275, allocations: 3.264 MB / 1.081 GB, free: 322.5 MB / 0.8106 GB Notification: Performance of SimCode: time 0.009534/1.285, allocations: 6.271 MB / 1.087 GB, free: 319.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.07584/1.361, allocations: 63.51 MB / 1.149 GB, free: 263.4 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)