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: "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 101.4 kB / 16.27 MB, free: 6.395 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.001199/0.001199, allocations: 186.7 kB / 17.2 MB, free: 5.938 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7601/0.7601, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3866, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6555/1.042, allocations: 325 MB / 0.8847 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03251/1.075, allocations: 22.3 MB / 0.9065 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005515/1.08, allocations: 98.22 kB / 0.9065 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01749/1.098, allocations: 7.686 MB / 0.9141 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/1.112, allocations: 4.25 MB / 0.9182 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00645/1.118, allocations: 2.431 MB / 0.9206 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0182/1.136, allocations: 11.93 MB / 0.9322 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/1.141, allocations: 2.203 MB / 0.9344 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008924/1.15, allocations: 3.137 MB / 0.9374 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005573/1.155, allocations: 1.808 MB / 0.9392 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/1.157, allocations: 228 kB / 0.9394 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008878/1.166, allocations: 3.867 MB / 0.9432 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00172/1.168, allocations: 1.141 MB / 0.9443 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003585/1.171, allocations: 1.687 MB / 0.946 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/1.183, allocations: 5.714 MB / 0.9515 GB, free: 13.03 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.183, allocations: 0 / 0.9515 GB, free: 13.03 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/1.183, allocations: 3.938 kB / 0.9515 GB, free: 13.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001942/1.183, allocations: 0 / 0.9515 GB, free: 13.02 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.009505/1.193, allocations: 3.774 MB / 0.9552 GB, free: 9.168 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.193, allocations: 12.62 kB / 0.9552 GB, free: 9.156 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004811/1.193, allocations: 198.8 kB / 0.9554 GB, free: 8.953 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/1.201, allocations: 1.096 MB / 0.9565 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/1.209, allocations: 3.877 MB / 0.9603 GB, free: 3.91 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/1.209, allocations: 178.7 kB / 0.9605 GB, free: 3.734 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004986/1.21, allocations: 155.9 kB / 0.9606 GB, free: 3.582 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/1.214, allocations: 1.719 MB / 0.9623 GB, free: 1.789 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/1.214, allocations: 7.984 kB / 0.9623 GB, free: 1.781 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/1.214, allocations: 56 kB / 0.9624 GB, free: 1.727 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/1.214, allocations: 50.59 kB / 0.9624 GB, free: 1.676 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/1.218, allocations: 1.47 MB / 0.9638 GB, free: 204 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.01455/1.233, allocations: 8.711 MB / 0.9723 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/1.235, allocations: 1.038 MB / 0.9734 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/1.237, allocations: 0.5142 MB / 0.9739 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/1.237, allocations: 109.6 kB / 0.974 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.237, allocations: 43.44 kB / 0.974 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/1.237, allocations: 0 / 0.974 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004542/1.242, allocations: 1.487 MB / 0.9755 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/1.242, allocations: 63.97 kB / 0.9755 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/1.247, allocations: 2.944 MB / 0.9784 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/1.247, allocations: 49.7 kB / 0.9784 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.248, allocations: 1.272 MB / 0.9797 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/1.249, allocations: 256.4 kB / 0.9799 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007532/1.249, allocations: 427.1 kB / 0.9803 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/1.25, allocations: 305.1 kB / 0.9806 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/1.251, allocations: 0.8246 MB / 0.9814 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/1.253, allocations: 1.326 MB / 0.9827 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/1.257, allocations: 1.922 MB / 0.9846 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.257, allocations: 4 kB / 0.9846 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00478/1.262, allocations: 2.415 MB / 0.987 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.262, allocations: 12.41 kB / 0.987 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.262, allocations: 16 kB / 0.987 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/1.262, allocations: 23.94 kB / 0.987 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.263, allocations: 387.4 kB / 0.9874 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003982/1.264, allocations: 0.6132 MB / 0.988 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.266, allocations: 250.8 kB / 0.9882 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.266, allocations: 75.97 kB / 0.9883 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002595/1.269, allocations: 1.446 MB / 0.9897 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00184/1.271, allocations: 1.302 MB / 0.991 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002907/1.274, allocations: 1.881 MB / 0.9928 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.046e-05/1.274, allocations: 0 / 0.9928 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004402/1.278, allocations: 2.373 MB / 0.9951 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.278, allocations: 12 kB / 0.9951 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.278, allocations: 12 kB / 0.9952 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.278, allocations: 19.98 kB / 0.9952 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.279, allocations: 375.5 kB / 0.9955 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-05/1.279, allocations: 19.94 kB / 0.9956 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/1.282, allocations: 195.7 kB / 0.9957 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.282, allocations: 71.98 kB / 0.9958 GB, free: 13.96 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.0004055/1.282, allocations: 268.4 kB / 0.9961 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/1.283, allocations: 268.4 kB / 0.9963 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/1.286, allocations: 1.138 MB / 0.9974 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.286, allocations: 8 kB / 0.9974 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.286, allocations: 3.938 kB / 0.9974 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/1.288, allocations: 0.9411 MB / 0.9984 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.296, allocations: 3.347 MB / 1.002 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.296, allocations: 4 kB / 1.002 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.297, allocations: 215.8 kB / 1.002 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.297, allocations: 4 kB / 1.002 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/1.297, allocations: 19.98 kB / 1.002 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002859/1.297, allocations: 0.5937 MB / 1.002 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.297, allocations: 4.031 kB / 1.002 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/1.302, allocations: 1.733 MB / 1.004 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.303, allocations: 469.4 kB / 1.005 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005757/1.304, allocations: 16 kB / 1.005 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.305, allocations: 91.86 kB / 1.005 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.305, allocations: 40.5 kB / 1.005 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.502e-05/1.305, allocations: 35.97 kB / 1.005 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003542/1.309, allocations: 1.964 MB / 1.007 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.309, allocations: 0 / 1.007 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004153/1.313, allocations: 1.263 MB / 1.008 GB, free: 1.312 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.005695/1.319, allocations: 2.698 MB / 1.011 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006193/1.325, allocations: 2.786 MB / 1.013 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.325, allocations: 0 / 1.013 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.326, allocations: 487.6 kB / 1.014 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006918/1.333, allocations: 1.444 MB / 1.015 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2955/1.629, allocations: 21.92 MB / 1.037 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.631, allocations: 1.927 MB / 1.038 GB, free: 311.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003432/1.634, allocations: 0.7268 MB / 1.039 GB, free: 311.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.636, allocations: 1.169 MB / 1.04 GB, free: 310.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/1.636, allocations: 0 / 1.04 GB, free: 310.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.743, allocations: 73.55 MB / 1.112 GB, free: 251.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.81, allocations: 12.06 kB / 1.112 GB, free: 251 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)