Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_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.001541/0.001541, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001717/0.001717, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.445/2.445, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.026/1.026, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004934, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8167, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.149/1.965, allocations: 262.1 MB / 0.8389 GB, free: 34.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03421/2, allocations: 18.49 MB / 0.857 GB, free: 34.39 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005799/2.005, allocations: 70.62 kB / 0.857 GB, free: 34.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006574/2.012, allocations: 1.217 MB / 0.8582 GB, free: 34.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0175/2.03, allocations: 3.845 MB / 0.862 GB, free: 34.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00897/2.039, allocations: 2.104 MB / 0.864 GB, free: 34.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01067/2.049, allocations: 3.443 MB / 0.8674 GB, free: 34.3 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00409/2.053, allocations: 1.612 MB / 0.869 GB, free: 34.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009129/2.063, allocations: 2.258 MB / 0.8712 GB, free: 34.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/2.068, allocations: 1.137 MB / 0.8723 GB, free: 34.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/2.069, allocations: 92.81 kB / 0.8724 GB, free: 34.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00896/2.078, allocations: 1.864 MB / 0.8742 GB, free: 34.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00191/2.08, allocations: 0.6755 MB / 0.8749 GB, free: 34.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001805/2.082, allocations: 0.5119 MB / 0.8754 GB, free: 34.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007082/2.089, allocations: 3.129 MB / 0.8784 GB, free: 33.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/2.089, allocations: 0 / 0.8784 GB, free: 33.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.337e-06/2.089, allocations: 0 / 0.8784 GB, free: 33.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001271/2.089, allocations: 0 / 0.8784 GB, free: 33.54 MB / 0.6387 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.007268/2.097, allocations: 2.511 MB / 0.8809 GB, free: 31.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/2.097, allocations: 13.34 kB / 0.8809 GB, free: 31.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006503/2.097, allocations: 199.8 kB / 0.8811 GB, free: 31.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007687/2.105, allocations: 0.8821 MB / 0.8819 GB, free: 31.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/2.112, allocations: 1.809 MB / 0.8837 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006655/2.113, allocations: 179 kB / 0.8839 GB, free: 30.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006555/2.114, allocations: 148.4 kB / 0.884 GB, free: 30.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/2.118, allocations: 1.683 MB / 0.8856 GB, free: 30.13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/2.118, allocations: 2.438 kB / 0.8856 GB, free: 30.13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/2.118, allocations: 58.09 kB / 0.8857 GB, free: 30.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.788e-05/2.118, allocations: 50.53 kB / 0.8858 GB, free: 30.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/2.122, allocations: 1.477 MB / 0.8872 GB, free: 29.86 MB / 0.6387 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.01372/2.136, allocations: 7.817 MB / 0.8948 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/2.138, allocations: 1.121 MB / 0.8959 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/2.138, allocations: 21.95 kB / 0.8959 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/2.138, allocations: 43.16 kB / 0.896 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001383/2.14, allocations: 205.4 kB / 0.8962 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=77): time 3.717e-06/2.14, allocations: 0 / 0.8962 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77): time 0.004552/2.144, allocations: 1.504 MB / 0.8976 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/2.145, allocations: 65.78 kB / 0.8977 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/2.147, allocations: 1.79 MB / 0.8995 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/2.147, allocations: 44.2 kB / 0.8995 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/2.148, allocations: 0.9765 MB / 0.9005 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/2.148, allocations: 272.1 kB / 0.9007 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/2.148, allocations: 16.88 kB / 0.9007 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/2.148, allocations: 347 kB / 0.9011 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/2.15, allocations: 468.7 kB / 0.9015 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/2.151, allocations: 0.8768 MB / 0.9024 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/2.153, allocations: 0.5664 MB / 0.9029 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/2.153, allocations: 6.641 kB / 0.9029 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004313/2.157, allocations: 1.469 MB / 0.9044 GB, free: 21.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.00199/2.159, allocations: 3.963 MB / 0.9082 GB, free: 16.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/2.159, allocations: 9 kB / 0.9082 GB, free: 16.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.581e-05/2.159, allocations: 17.59 kB / 0.9083 GB, free: 16.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/2.161, allocations: 310.3 kB / 0.9086 GB, free: 16.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000571/2.162, allocations: 0.6026 MB / 0.9091 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/2.165, allocations: 183.9 kB / 0.9093 GB, free: 16.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/2.165, allocations: 54.47 kB / 0.9094 GB, free: 16.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/2.165, allocations: 9.125 kB / 0.9094 GB, free: 16.23 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004437/2.169, allocations: 1.153 MB / 0.9105 GB, free: 16.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/2.169, allocations: 14.59 kB / 0.9105 GB, free: 16.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/2.169, allocations: 21.42 kB / 0.9105 GB, free: 16.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/2.171, allocations: 258.3 kB / 0.9108 GB, free: 16.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/2.171, allocations: 24.58 kB / 0.9108 GB, free: 16.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/2.174, allocations: 156.9 kB / 0.911 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/2.174, allocations: 49.39 kB / 0.911 GB, free: 15.96 MB / 0.6387 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.001561/2.176, allocations: 0.585 MB / 0.9116 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/2.176, allocations: 199 kB / 0.9118 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/2.18, allocations: 1.19 MB / 0.9129 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/2.18, allocations: 9.188 kB / 0.9129 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/2.18, allocations: 0 / 0.9129 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002342/2.182, allocations: 1.009 MB / 0.9139 GB, free: 15 MB / 0.6387 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.006934/2.189, allocations: 2.989 MB / 0.9168 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/2.189, allocations: 0.875 kB / 0.9168 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/2.19, allocations: 232.7 kB / 0.9171 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/2.19, allocations: 10.81 kB / 0.9171 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/2.19, allocations: 29.72 kB / 0.9171 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002461/2.191, allocations: 0.5911 MB / 0.9177 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/2.191, allocations: 4.031 kB / 0.9177 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/2.195, allocations: 1.874 MB / 0.9195 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/2.196, allocations: 365.7 kB / 0.9199 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/2.196, allocations: 14.06 kB / 0.9199 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/2.197, allocations: 176.1 kB / 0.92 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/2.198, allocations: 51.59 kB / 0.9201 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/2.198, allocations: 38.78 kB / 0.9201 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001843/2.199, allocations: 1.208 MB / 0.9213 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/2.2, allocations: 0 / 0.9213 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003254/2.203, allocations: 0.9856 MB / 0.9223 GB, free: 9.289 MB / 0.6387 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.005309/2.208, allocations: 2.992 MB / 0.9252 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004374/2.212, allocations: 1.724 MB / 0.9269 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/2.213, allocations: 0 / 0.9269 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/2.214, allocations: 0.5054 MB / 0.9274 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/2.22, allocations: 1.022 MB / 0.9284 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/2.234, allocations: 11.82 MB / 0.9399 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/2.237, allocations: 1.609 MB / 0.9415 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004384/2.241, allocations: 496.6 kB / 0.942 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/2.244, allocations: 0.8626 MB / 0.9428 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of SimCode: time 1.973e-06/2.244, allocations: 0 / 0.9428 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/2.364, allocations: 54.49 MB / 0.996 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/2.364, allocations: 247.4 kB / 0.9962 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.184/7.548, allocations: 1.922 kB / 0.9963 GB, free: 0.6289 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) Environment - environmentSimulation: