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.001139/0.001139, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009561/0.000956, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9258/0.9258, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 9.031 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 82.32 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9128/1.057, allocations: 295.7 MB / 0.8762 GB, free: 35.24 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0237/1.081, allocations: 18.87 MB / 0.8947 GB, free: 35.05 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/1.085, allocations: 75.12 kB / 0.8947 GB, free: 35.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003962/1.089, allocations: 0.9705 MB / 0.8957 GB, free: 35.04 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009871/1.099, allocations: 3.104 MB / 0.8987 GB, free: 34.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005921/1.105, allocations: 1.782 MB / 0.9005 GB, free: 34.86 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01127/1.116, allocations: 6.779 MB / 0.9071 GB, free: 34.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004978/1.121, allocations: 1.58 MB / 0.9086 GB, free: 34.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00906/1.13, allocations: 2.57 MB / 0.9111 GB, free: 34.62 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004743/1.135, allocations: 1.691 MB / 0.9128 GB, free: 34.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/1.136, allocations: 95.72 kB / 0.9129 GB, free: 34.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00897/1.145, allocations: 2.211 MB / 0.915 GB, free: 34.58 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002154/1.147, allocations: 0.7437 MB / 0.9158 GB, free: 34.58 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002191/1.15, allocations: 0.5132 MB / 0.9163 GB, free: 34.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007476/1.157, allocations: 3.337 MB / 0.9195 GB, free: 34.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.157, allocations: 0 / 0.9195 GB, free: 34.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/1.157, allocations: 0 / 0.9195 GB, free: 34.28 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000191/1.157, allocations: 0 / 0.9195 GB, free: 34.28 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.008559/1.166, allocations: 2.571 MB / 0.922 GB, free: 32.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.166, allocations: 11.34 kB / 0.922 GB, free: 32.91 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008142/1.167, allocations: 206.2 kB / 0.9222 GB, free: 32.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006504/1.173, allocations: 0.8745 MB / 0.9231 GB, free: 32.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/1.179, allocations: 1.748 MB / 0.9248 GB, free: 32.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004824/1.179, allocations: 183.8 kB / 0.925 GB, free: 32.22 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006929/1.18, allocations: 146.6 kB / 0.9251 GB, free: 32.22 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004951/1.185, allocations: 1.714 MB / 0.9268 GB, free: 32.04 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/1.185, allocations: 3.875 kB / 0.9268 GB, free: 32.04 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/1.185, allocations: 58.48 kB / 0.9268 GB, free: 32.04 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/1.186, allocations: 54.34 kB / 0.9269 GB, free: 32.03 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/1.19, allocations: 1.5 MB / 0.9284 GB, free: 31.99 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.01299/1.203, allocations: 7.85 MB / 0.936 GB, free: 28.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.205, allocations: 1.15 MB / 0.9372 GB, free: 27.86 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.206, allocations: 0.559 MB / 0.9377 GB, free: 27.84 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/1.206, allocations: 115 kB / 0.9378 GB, free: 27.74 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/1.207, allocations: 42.75 kB / 0.9378 GB, free: 27.7 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001493/1.208, allocations: 202.8 kB / 0.938 GB, free: 27.64 MB / 0.67 GB Notification: Performance of pre-optimization done (n=77): time 6.402e-06/1.208, allocations: 0 / 0.938 GB, free: 27.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=77): time 0.004002/1.212, allocations: 1.544 MB / 0.9396 GB, free: 27.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.212, allocations: 61.16 kB / 0.9396 GB, free: 27.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/1.215, allocations: 1.805 MB / 0.9414 GB, free: 26.72 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/1.215, allocations: 45.3 kB / 0.9414 GB, free: 26.69 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/1.216, allocations: 0.9889 MB / 0.9424 GB, free: 26.28 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/1.216, allocations: 265.6 kB / 0.9426 GB, free: 26.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/1.216, allocations: 20.06 kB / 0.9427 GB, free: 26.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/1.216, allocations: 352.2 kB / 0.943 GB, free: 25.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.218, allocations: 481.7 kB / 0.9434 GB, free: 25.69 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/1.219, allocations: 0.8975 MB / 0.9443 GB, free: 25.08 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.22, allocations: 0.5651 MB / 0.9449 GB, free: 25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.22, allocations: 8.688 kB / 0.9449 GB, free: 25 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003459/1.224, allocations: 1.488 MB / 0.9463 GB, free: 24.67 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/1.224, allocations: 385.7 kB / 0.9467 GB, free: 24.22 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.224, allocations: 10.09 kB / 0.9467 GB, free: 24.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/1.224, allocations: 15.81 kB / 0.9467 GB, free: 24.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.225, allocations: 304 kB / 0.947 GB, free: 24.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00031/1.226, allocations: 0.6161 MB / 0.9476 GB, free: 23.56 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.228, allocations: 179.3 kB / 0.9478 GB, free: 23.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.228, allocations: 58.66 kB / 0.9478 GB, free: 23.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.228, allocations: 3.344 kB / 0.9479 GB, free: 23.5 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002176/1.23, allocations: 1.171 MB / 0.949 GB, free: 23.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/1.23, allocations: 10.66 kB / 0.949 GB, free: 23.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.23, allocations: 21.23 kB / 0.949 GB, free: 23.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/1.231, allocations: 263.4 kB / 0.9493 GB, free: 23.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.231, allocations: 27.09 kB / 0.9493 GB, free: 23.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.233, allocations: 158.5 kB / 0.9495 GB, free: 23.24 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.233, allocations: 57.5 kB / 0.9495 GB, free: 23.23 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 (125): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.235, allocations: 0.5842 MB / 0.9501 GB, free: 22.99 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/1.235, allocations: 192.6 kB / 0.9503 GB, free: 22.89 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/1.238, allocations: 1.198 MB / 0.9514 GB, free: 22.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.238, allocations: 8.469 kB / 0.9514 GB, free: 22.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.238, allocations: 3.984 kB / 0.9514 GB, free: 22.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002022/1.24, allocations: 1.024 MB / 0.9524 GB, free: 22.28 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.006519/1.247, allocations: 3.065 MB / 0.9554 GB, free: 21.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.247, allocations: 0 / 0.9554 GB, free: 21.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.248, allocations: 229.8 kB / 0.9557 GB, free: 21.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/1.248, allocations: 6.625 kB / 0.9557 GB, free: 21.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/1.248, allocations: 26.56 kB / 0.9557 GB, free: 21.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002361/1.248, allocations: 0.5934 MB / 0.9563 GB, free: 20.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.248, allocations: 0 / 0.9563 GB, free: 20.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/1.252, allocations: 1.829 MB / 0.9581 GB, free: 19.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.253, allocations: 368.5 kB / 0.9584 GB, free: 19.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006549/1.254, allocations: 18.28 kB / 0.9584 GB, free: 19.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.256, allocations: 155.6 kB / 0.9586 GB, free: 19.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.256, allocations: 63.34 kB / 0.9586 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/1.256, allocations: 28.33 kB / 0.9587 GB, free: 19.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002204/1.258, allocations: 1.231 MB / 0.9599 GB, free: 19.22 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/1.258, allocations: 0 / 0.9599 GB, free: 19.22 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004056/1.262, allocations: 1.001 MB / 0.9608 GB, free: 19.08 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005077/1.267, allocations: 2.625 MB / 0.9634 GB, free: 17.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004243/1.271, allocations: 1.752 MB / 0.9651 GB, free: 17.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.271, allocations: 0 / 0.9651 GB, free: 17.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/1.273, allocations: 0.5154 MB / 0.9656 GB, free: 17.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/1.278, allocations: 1.038 MB / 0.9666 GB, free: 17.25 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.305, allocations: 12.71 MB / 0.979 GB, free: 7.773 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.306, allocations: 1.567 MB / 0.9806 GB, free: 6.254 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002444/1.309, allocations: 492.8 kB / 0.981 GB, free: 5.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.31, allocations: 0.8549 MB / 0.9819 GB, free: 5.562 MB / 0.67 GB Notification: Performance of SimCode: time 1.333e-06/1.31, allocations: 0 / 0.9819 GB, free: 5.562 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09188/1.402, allocations: 56.07 MB / 1.037 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.402, allocations: 251.4 kB / 1.037 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/4.649, allocations: 3.625 kB / 1.037 GB, free: 13.96 MB / 0.7325 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/linux/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) Environment - environmentSimulation: