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.001669/0.001674, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.00216/0.00216, allocations: 191.3 kB / 17.87 MB, free: 5.293 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.356/1.356, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 122.8 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 67.89 kB / 0.4917 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4098, allocations: 77.91 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6999/1.11, allocations: 325 MB / 0.8852 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03268/1.142, allocations: 22.29 MB / 0.907 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005014/1.148, allocations: 98.59 kB / 0.9071 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01406/1.162, allocations: 7.691 MB / 0.9146 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01196/1.174, allocations: 4.251 MB / 0.9188 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006437/1.18, allocations: 2.432 MB / 0.9211 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01704/1.197, allocations: 11.93 MB / 0.9328 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/1.201, allocations: 2.205 MB / 0.9349 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007252/1.208, allocations: 3.141 MB / 0.938 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/1.212, allocations: 1.803 MB / 0.9398 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007022/1.213, allocations: 232 kB / 0.94 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008395/1.221, allocations: 3.863 MB / 0.9438 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002206/1.224, allocations: 1.133 MB / 0.9449 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003928/1.227, allocations: 1.691 MB / 0.9465 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/1.238, allocations: 5.722 MB / 0.9521 GB, free: 13.07 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.238, allocations: 0 / 0.9521 GB, free: 13.07 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.165e-06/1.238, allocations: 0 / 0.9521 GB, free: 13.07 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.769e-05/1.238, allocations: 0 / 0.9521 GB, free: 13.07 MB / 0.67 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.006456/1.245, allocations: 3.77 MB / 0.9558 GB, free: 9.219 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.245, allocations: 8.625 kB / 0.9558 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/1.252, allocations: 1.1 MB / 0.9569 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/1.259, allocations: 3.869 MB / 0.9606 GB, free: 4.172 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/1.259, allocations: 182.7 kB / 0.9608 GB, free: 3.992 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/1.26, allocations: 152 kB / 0.961 GB, free: 3.844 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/1.263, allocations: 1.719 MB / 0.9626 GB, free: 2.051 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/1.263, allocations: 3.906 kB / 0.9627 GB, free: 2.047 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/1.263, allocations: 60 kB / 0.9627 GB, free: 1.988 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/1.263, allocations: 50.59 kB / 0.9628 GB, free: 1.938 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/1.267, allocations: 1.47 MB / 0.9642 GB, free: 472 kB / 0.67 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.01253/1.279, allocations: 8.719 MB / 0.9727 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.282, allocations: 1.034 MB / 0.9737 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/1.283, allocations: 0.5103 MB / 0.9742 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/1.283, allocations: 109.6 kB / 0.9743 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/1.283, allocations: 51.48 kB / 0.9744 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 3.427e-06/1.283, allocations: 3.938 kB / 0.9744 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004451/1.288, allocations: 1.483 MB / 0.9758 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/1.288, allocations: 55.97 kB / 0.9759 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/1.292, allocations: 2.952 MB / 0.9788 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002516/1.292, allocations: 45.7 kB / 0.9788 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/1.294, allocations: 1.268 MB / 0.98 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/1.294, allocations: 264.3 kB / 0.9803 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/1.294, allocations: 423.1 kB / 0.9807 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/1.295, allocations: 305.1 kB / 0.981 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.296, allocations: 0.8207 MB / 0.9818 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.298, allocations: 1.33 MB / 0.9831 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/1.302, allocations: 1.918 MB / 0.985 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.302, allocations: 7.938 kB / 0.985 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005096/1.307, allocations: 2.412 MB / 0.9873 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.307, allocations: 14.66 kB / 0.9873 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/1.307, allocations: 12 kB / 0.9873 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/1.307, allocations: 20.41 kB / 0.9874 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.309, allocations: 395.4 kB / 0.9877 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003842/1.309, allocations: 0.6055 MB / 0.9883 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.311, allocations: 262.7 kB / 0.9886 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.312, allocations: 71.98 kB / 0.9887 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002628/1.314, allocations: 1.446 MB / 0.9901 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001913/1.316, allocations: 1.298 MB / 0.9913 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003026/1.319, allocations: 1.881 MB / 0.9932 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.496e-05/1.319, allocations: 4 kB / 0.9932 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004679/1.324, allocations: 2.372 MB / 0.9955 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/1.324, allocations: 12.47 kB / 0.9955 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.324, allocations: 12 kB / 0.9955 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.324, allocations: 20 kB / 0.9955 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.325, allocations: 363.4 kB / 0.9959 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/1.325, allocations: 27.92 kB / 0.9959 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.328, allocations: 191.7 kB / 0.9961 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.328, allocations: 71.92 kB / 0.9962 GB, free: 14.23 MB / 0.7169 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.0004633/1.328, allocations: 271.8 kB / 0.9964 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008048/1.329, allocations: 276.4 kB / 0.9967 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/1.333, allocations: 1.134 MB / 0.9978 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.333, allocations: 8 kB / 0.9978 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.333, allocations: 4 kB / 0.9978 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002355/1.335, allocations: 0.9411 MB / 0.9987 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008117/1.343, allocations: 3.351 MB / 1.002 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.343, allocations: 0 / 1.002 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.344, allocations: 219.8 kB / 1.002 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/1.345, allocations: 8 kB / 1.002 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/1.345, allocations: 15.98 kB / 1.002 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/1.345, allocations: 0.586 MB / 1.003 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/1.345, allocations: 11.97 kB / 1.003 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/1.349, allocations: 1.737 MB / 1.005 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.351, allocations: 469.4 kB / 1.005 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000712/1.351, allocations: 16 kB / 1.005 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.353, allocations: 85.95 kB / 1.005 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.353, allocations: 44.44 kB / 1.005 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/1.353, allocations: 35.97 kB / 1.005 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003992/1.357, allocations: 1.964 MB / 1.007 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.357, allocations: 0 / 1.007 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004597/1.362, allocations: 1.259 MB / 1.008 GB, free: 1.574 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001469/1.363, allocations: 0.5013 MB / 1.009 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006646/1.37, allocations: 2.782 MB / 1.011 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.37, allocations: 4.125 kB / 1.011 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.372, allocations: 491 kB / 1.012 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007419/1.379, allocations: 1.45 MB / 1.013 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.39, allocations: 4.932 MB / 1.018 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/1.392, allocations: 1.913 MB / 1.02 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.394, allocations: 223.3 kB / 1.02 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.394, allocations: 0 / 1.02 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.3673/1.761, allocations: 58.43 MB / 1.077 GB, free: 283.9 MB / 0.7325 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)