Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_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.00102/0.00102, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.008604/0.008604, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.88/0.88, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 8 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9112/1.062, allocations: 317 MB / 0.8977 GB, free: 33 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02304/1.085, allocations: 20.14 MB / 0.9173 GB, free: 32.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/1.089, allocations: 81.19 kB / 0.9174 GB, free: 32.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003858/1.093, allocations: 1.312 MB / 0.9187 GB, free: 32.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.103, allocations: 3.955 MB / 0.9226 GB, free: 32.53 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004997/1.108, allocations: 2.092 MB / 0.9246 GB, free: 32.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009547/1.118, allocations: 7.999 MB / 0.9324 GB, free: 32.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/1.12, allocations: 1.816 MB / 0.9342 GB, free: 32.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006304/1.127, allocations: 2.82 MB / 0.9369 GB, free: 32.11 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/1.13, allocations: 1.718 MB / 0.9386 GB, free: 32.1 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/1.13, allocations: 89.56 kB / 0.9387 GB, free: 32.1 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006861/1.137, allocations: 4.046 MB / 0.9426 GB, free: 32.06 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007654/1.138, allocations: 0.7447 MB / 0.9434 GB, free: 32.05 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/1.139, allocations: 1.191 MB / 0.9445 GB, free: 32.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005569/1.145, allocations: 4.753 MB / 0.9492 GB, free: 30.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.145, allocations: 2.375 kB / 0.9492 GB, free: 30.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/1.145, allocations: 0 / 0.9492 GB, free: 30.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.719e-05/1.145, allocations: 0 / 0.9492 GB, free: 30.18 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003653/1.149, allocations: 2.536 MB / 0.9517 GB, free: 28.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.149, allocations: 9.156 kB / 0.9517 GB, free: 28.52 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000207/1.149, allocations: 200.2 kB / 0.9519 GB, free: 28.45 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/1.154, allocations: 0.8811 MB / 0.9527 GB, free: 28.08 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/1.157, allocations: 1.856 MB / 0.9545 GB, free: 27.17 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/1.158, allocations: 180 kB / 0.9547 GB, free: 27.14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/1.158, allocations: 152.1 kB / 0.9548 GB, free: 27.14 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/1.161, allocations: 1.676 MB / 0.9565 GB, free: 26.65 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/1.161, allocations: 2.625 kB / 0.9565 GB, free: 26.65 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.161, allocations: 58.98 kB / 0.9565 GB, free: 26.65 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/1.161, allocations: 58.86 kB / 0.9566 GB, free: 26.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/1.164, allocations: 1.432 MB / 0.958 GB, free: 26.39 MB / 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.008731/1.173, allocations: 7.738 MB / 0.9656 GB, free: 21.33 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.174, allocations: 1.087 MB / 0.9666 GB, free: 20.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/1.176, allocations: 0.5238 MB / 0.9671 GB, free: 20.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/1.176, allocations: 102.5 kB / 0.9672 GB, free: 20.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/1.176, allocations: 42.31 kB / 0.9673 GB, free: 20.76 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000853/1.177, allocations: 206.2 kB / 0.9675 GB, free: 20.67 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/1.177, allocations: 0 / 0.9675 GB, free: 20.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.003209/1.18, allocations: 1.437 MB / 0.9689 GB, free: 20.33 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/1.18, allocations: 58.47 kB / 0.9689 GB, free: 20.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/1.182, allocations: 1.791 MB / 0.9707 GB, free: 19.55 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/1.182, allocations: 44.39 kB / 0.9707 GB, free: 19.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/1.182, allocations: 0.9874 MB / 0.9717 GB, free: 18.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.183, allocations: 260.8 kB / 0.9719 GB, free: 18.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.183, allocations: 94.31 kB / 0.972 GB, free: 18.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/1.183, allocations: 351.2 kB / 0.9724 GB, free: 18.01 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009738/1.184, allocations: 474 kB / 0.9728 GB, free: 17.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.185, allocations: 0.8697 MB / 0.9737 GB, free: 17.05 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/1.187, allocations: 1.272 MB / 0.9749 GB, free: 16.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/1.187, allocations: 0 / 0.9749 GB, free: 16.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002619/1.19, allocations: 1.482 MB / 0.9763 GB, free: 15.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.19, allocations: 379 kB / 0.9767 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.19, allocations: 10 kB / 0.9767 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.19, allocations: 14.31 kB / 0.9767 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.191, allocations: 292.7 kB / 0.977 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002139/1.191, allocations: 0.6027 MB / 0.9776 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.193, allocations: 155.5 kB / 0.9777 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/1.193, allocations: 52.02 kB / 0.9778 GB, free: 14.33 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/1.193, allocations: 6.094 kB / 0.9778 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001981/1.195, allocations: 1.163 MB / 0.9789 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.195, allocations: 12.03 kB / 0.9789 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/1.195, allocations: 17.03 kB / 0.979 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/1.196, allocations: 259 kB / 0.9792 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.196, allocations: 21.88 kB / 0.9792 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.197, allocations: 153.6 kB / 0.9794 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/1.197, allocations: 48 kB / 0.9794 GB, free: 13.65 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (124): * Single equations (assignments): 121 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.000724/1.198, allocations: 0.586 MB / 0.98 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/1.198, allocations: 193.6 kB / 0.9802 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/1.2, allocations: 1.13 MB / 0.9813 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.2, allocations: 8 kB / 0.9813 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.2, allocations: 4 kB / 0.9813 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/1.202, allocations: 0.9594 MB / 0.9822 GB, free: 10.74 MB / 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 postOpt removeSimpleEquations (simulation): time 0.004236/1.206, allocations: 3.057 MB / 0.9852 GB, free: 7.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.206, allocations: 0 / 0.9852 GB, free: 7.578 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/1.207, allocations: 223.6 kB / 0.9854 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/1.207, allocations: 4 kB / 0.9854 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/1.207, allocations: 19.98 kB / 0.9855 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001541/1.207, allocations: 0.6001 MB / 0.986 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.207, allocations: 2.531 kB / 0.986 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/1.21, allocations: 1.701 MB / 0.9877 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/1.21, allocations: 354.5 kB / 0.988 GB, free: 4.625 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.211, allocations: 19.94 kB / 0.9881 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.212, allocations: 143.8 kB / 0.9882 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/1.212, allocations: 48.59 kB / 0.9882 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/1.212, allocations: 31.97 kB / 0.9883 GB, free: 4.387 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001192/1.213, allocations: 1.212 MB / 0.9895 GB, free: 3.156 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.213, allocations: 0 / 0.9895 GB, free: 3.156 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001896/1.215, allocations: 0.9781 MB / 0.9904 GB, free: 2.176 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (78): * Single equations (assignments): 77 * 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.003594/1.219, allocations: 2.503 MB / 0.9929 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003547/1.222, allocations: 1.688 MB / 0.9945 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.222, allocations: 4 kB / 0.9945 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.223, allocations: 494.5 kB / 0.995 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/1.228, allocations: 1.007 MB / 0.996 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/1.254, allocations: 15.71 MB / 1.011 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.255, allocations: 1.574 MB / 1.013 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002052/1.257, allocations: 488.6 kB / 1.013 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.258, allocations: 0.8429 MB / 1.014 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of SimCode: time 7.41e-07/1.258, allocations: 7.938 kB / 1.014 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6932/1.951, allocations: 51.36 MB / 1.064 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004381/1.952, allocations: 263.8 kB / 1.065 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/4.988, allocations: 0 / 1.065 GB, free: 5.855 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)