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.0007877/0.0007876, allocations: 84.38 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.0008412/0.0008413, 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.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7444/0.7444, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003292, allocations: 8 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4154, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6482/1.064, allocations: 295.7 MB / 0.872 GB, free: 39.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02005/1.084, allocations: 18.88 MB / 0.8904 GB, free: 39.32 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/1.087, allocations: 74.69 kB / 0.8905 GB, free: 39.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002913/1.09, allocations: 0.963 MB / 0.8914 GB, free: 39.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008121/1.098, allocations: 3.102 MB / 0.8944 GB, free: 39.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/1.103, allocations: 1.786 MB / 0.8962 GB, free: 39.12 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007842/1.11, allocations: 6.778 MB / 0.9028 GB, free: 38.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/1.113, allocations: 1.587 MB / 0.9043 GB, free: 38.03 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/1.119, allocations: 2.563 MB / 0.9069 GB, free: 37.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/1.122, allocations: 1.694 MB / 0.9085 GB, free: 37.28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000328/1.123, allocations: 93.19 kB / 0.9086 GB, free: 37.28 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005559/1.128, allocations: 2.208 MB / 0.9107 GB, free: 36.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009611/1.129, allocations: 0.7456 MB / 0.9115 GB, free: 36.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.13, allocations: 0.5081 MB / 0.912 GB, free: 36.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004951/1.135, allocations: 3.34 MB / 0.9152 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.135, allocations: 0 / 0.9152 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/1.135, allocations: 0 / 0.9152 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.355e-05/1.135, allocations: 0 / 0.9152 GB, free: 34.83 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.003709/1.139, allocations: 2.571 MB / 0.9177 GB, free: 33.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.139, allocations: 9.719 kB / 0.9178 GB, free: 33.18 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/1.139, allocations: 200.2 kB / 0.9179 GB, free: 33.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/1.144, allocations: 0.874 MB / 0.9188 GB, free: 32.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/1.147, allocations: 1.758 MB / 0.9205 GB, free: 31.94 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/1.147, allocations: 178.2 kB / 0.9207 GB, free: 31.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/1.147, allocations: 144.4 kB / 0.9208 GB, free: 31.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/1.15, allocations: 1.713 MB / 0.9225 GB, free: 31.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/1.15, allocations: 2.812 kB / 0.9225 GB, free: 31.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.151, allocations: 60.45 kB / 0.9226 GB, free: 31.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/1.151, allocations: 47.86 kB / 0.9226 GB, free: 31.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/1.153, allocations: 1.499 MB / 0.9241 GB, free: 31.13 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.008175/1.162, allocations: 7.847 MB / 0.9317 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/1.164, allocations: 1.16 MB / 0.9329 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.165, allocations: 0.5546 MB / 0.9334 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/1.165, allocations: 108.2 kB / 0.9335 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.165, allocations: 45.48 kB / 0.9336 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007928/1.166, allocations: 201.5 kB / 0.9337 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=77): time 4.157e-06/1.166, allocations: 3.938 kB / 0.9337 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77): time 0.003342/1.169, allocations: 1.541 MB / 0.9353 GB, free: 21.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/1.169, allocations: 62.59 kB / 0.9353 GB, free: 21.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/1.171, allocations: 1.812 MB / 0.9371 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/1.171, allocations: 49.31 kB / 0.9371 GB, free: 20.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005811/1.172, allocations: 0.982 MB / 0.9381 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.172, allocations: 265.6 kB / 0.9383 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/1.172, allocations: 22 kB / 0.9384 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.683e-05/1.172, allocations: 347.4 kB / 0.9387 GB, free: 19.13 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.173, allocations: 483.5 kB / 0.9392 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.174, allocations: 0.8899 MB / 0.94 GB, free: 17.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.176, allocations: 0.5711 MB / 0.9406 GB, free: 17.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/1.176, allocations: 4 kB / 0.9406 GB, free: 17.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002949/1.179, allocations: 1.489 MB / 0.942 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.179, allocations: 382.7 kB / 0.9424 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.179, allocations: 8 kB / 0.9424 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/1.179, allocations: 16 kB / 0.9424 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/1.18, allocations: 309.2 kB / 0.9427 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002901/1.18, allocations: 0.6152 MB / 0.9433 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.183, allocations: 191.9 kB / 0.9435 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.183, allocations: 50.23 kB / 0.9436 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/1.183, allocations: 4 kB / 0.9436 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/1.185, allocations: 1.176 MB / 0.9447 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.185, allocations: 12 kB / 0.9447 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.185, allocations: 16 kB / 0.9447 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/1.186, allocations: 264.1 kB / 0.945 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/1.186, allocations: 23.45 kB / 0.945 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.188, allocations: 152.2 kB / 0.9452 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/1.188, allocations: 53.73 kB / 0.9452 GB, free: 13.56 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.0009347/1.189, allocations: 0.5862 MB / 0.9458 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/1.189, allocations: 193.6 kB / 0.946 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.192, allocations: 1.21 MB / 0.9471 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.192, allocations: 8 kB / 0.9471 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.192, allocations: 4 kB / 0.9472 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/1.194, allocations: 1.018 MB / 0.9481 GB, free: 11.29 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.006364/1.2, allocations: 3.065 MB / 0.9511 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.2, allocations: 4 kB / 0.9511 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.201, allocations: 232.6 kB / 0.9514 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/1.201, allocations: 8 kB / 0.9514 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.201, allocations: 22.36 kB / 0.9514 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002086/1.202, allocations: 0.5862 MB / 0.952 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.202, allocations: 0 / 0.952 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/1.205, allocations: 1.833 MB / 0.9538 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008188/1.206, allocations: 369 kB / 0.9541 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/1.206, allocations: 18.3 kB / 0.9541 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.208, allocations: 163.6 kB / 0.9543 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.208, allocations: 50.38 kB / 0.9543 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/1.208, allocations: 39.17 kB / 0.9544 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001734/1.21, allocations: 1.225 MB / 0.9556 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/1.21, allocations: 0 / 0.9556 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002813/1.212, allocations: 0.9903 MB / 0.9565 GB, free: 4.371 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.004348/1.217, allocations: 2.628 MB / 0.9591 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.221, allocations: 1.739 MB / 0.9608 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.221, allocations: 4 kB / 0.9608 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.222, allocations: 0.5176 MB / 0.9613 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.226, allocations: 1.051 MB / 0.9623 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/1.253, allocations: 12.71 MB / 0.9747 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/1.255, allocations: 1.569 MB / 0.9763 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002293/1.257, allocations: 484.8 kB / 0.9767 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.258, allocations: 0.8513 MB / 0.9776 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of SimCode: time 1.944e-06/1.258, allocations: 0 / 0.9776 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0906/1.349, allocations: 56.07 MB / 1.032 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.349, allocations: 262.2 kB / 1.033 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/4.398, allocations: 0 / 1.033 GB, free: 10.39 MB / 0.7169 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: