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.0007464/0.0007465, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004402/0.004402, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.175/1.175, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6988/0.6988, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8.625 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3868, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.627/1.014, allocations: 317.1 MB / 0.8934 GB, free: 37.06 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01861/1.033, allocations: 20.13 MB / 0.913 GB, free: 36.62 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/1.034, allocations: 83.34 kB / 0.9131 GB, free: 36.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/1.037, allocations: 1.301 MB / 0.9144 GB, free: 36.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.047, allocations: 3.95 MB / 0.9182 GB, free: 35.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006203/1.053, allocations: 2.107 MB / 0.9203 GB, free: 35.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009249/1.063, allocations: 8.005 MB / 0.9281 GB, free: 32.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003171/1.066, allocations: 1.802 MB / 0.9299 GB, free: 31.62 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006974/1.073, allocations: 2.816 MB / 0.9326 GB, free: 30.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/1.077, allocations: 1.726 MB / 0.9343 GB, free: 29.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003964/1.077, allocations: 88 kB / 0.9344 GB, free: 29.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008727/1.086, allocations: 4.042 MB / 0.9383 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.087, allocations: 0.7377 MB / 0.9391 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/1.089, allocations: 1.205 MB / 0.9402 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006521/1.095, allocations: 4.744 MB / 0.9449 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.095, allocations: 0 / 0.9449 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.465e-06/1.095, allocations: 4 kB / 0.9449 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.689e-05/1.095, allocations: 0 / 0.9449 GB, free: 19.88 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.00476/1.1, allocations: 2.542 MB / 0.9474 GB, free: 17.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.1, allocations: 8.031 kB / 0.9474 GB, free: 17.3 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/1.1, allocations: 201.6 kB / 0.9476 GB, free: 17.1 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004755/1.105, allocations: 0.8778 MB / 0.9484 GB, free: 16.22 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/1.108, allocations: 1.859 MB / 0.9502 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/1.108, allocations: 178.6 kB / 0.9504 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/1.108, allocations: 153.4 kB / 0.9506 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/1.111, allocations: 1.673 MB / 0.9522 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/1.111, allocations: 2.719 kB / 0.9522 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.111, allocations: 56 kB / 0.9522 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/1.111, allocations: 50.59 kB / 0.9523 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/1.114, allocations: 1.434 MB / 0.9537 GB, free: 10.77 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.007307/1.121, allocations: 7.742 MB / 0.9612 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.123, allocations: 1.073 MB / 0.9623 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009308/1.124, allocations: 0.5297 MB / 0.9628 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/1.124, allocations: 108.6 kB / 0.9629 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.124, allocations: 47.2 kB / 0.963 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006295/1.124, allocations: 199 kB / 0.9632 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/1.124, allocations: 3.984 kB / 0.9632 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003161/1.128, allocations: 1.435 MB / 0.9646 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/1.128, allocations: 60.06 kB / 0.9646 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.13, allocations: 1.789 MB / 0.9664 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/1.13, allocations: 45.7 kB / 0.9664 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/1.131, allocations: 0.9904 MB / 0.9674 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/1.131, allocations: 260 kB / 0.9676 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.131, allocations: 96.39 kB / 0.9677 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.131, allocations: 349.9 kB / 0.968 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/1.132, allocations: 476.5 kB / 0.9685 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.133, allocations: 0.8683 MB / 0.9693 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/1.136, allocations: 1.274 MB / 0.9706 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.136, allocations: 4 kB / 0.9706 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002742/1.138, allocations: 1.475 MB / 0.972 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.139, allocations: 375.7 kB / 0.9724 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.139, allocations: 8 kB / 0.9724 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.139, allocations: 16 kB / 0.9724 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.14, allocations: 290.4 kB / 0.9727 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003267/1.14, allocations: 0.6078 MB / 0.9733 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.141, allocations: 149.1 kB / 0.9734 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/1.142, allocations: 55.98 kB / 0.9735 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/1.142, allocations: 2.188 kB / 0.9735 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002138/1.144, allocations: 1.165 MB / 0.9746 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.144, allocations: 12 kB / 0.9746 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/1.144, allocations: 15.94 kB / 0.9747 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/1.145, allocations: 261.8 kB / 0.9749 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.145, allocations: 22.89 kB / 0.9749 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.146, allocations: 148.7 kB / 0.9751 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/1.146, allocations: 51.98 kB / 0.9751 GB, free: 3.98 MB / 0.6544 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.0007223/1.147, allocations: 0.5811 MB / 0.9757 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.147, allocations: 197.5 kB / 0.9759 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/1.149, allocations: 1.127 MB / 0.977 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.149, allocations: 7.984 kB / 0.977 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/1.149, allocations: 8 kB / 0.977 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/1.151, allocations: 0.956 MB / 0.9779 GB, free: 1.07 MB / 0.6544 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.004724/1.156, allocations: 3.055 MB / 0.9809 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.156, allocations: 4 kB / 0.9809 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009432/1.157, allocations: 221.4 kB / 0.9811 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.157, allocations: 4 kB / 0.9811 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/1.157, allocations: 23.98 kB / 0.9811 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/1.157, allocations: 0.5962 MB / 0.9817 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.157, allocations: 0 / 0.9817 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/1.16, allocations: 1.697 MB / 0.9834 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/1.161, allocations: 358.5 kB / 0.9837 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.161, allocations: 19.92 kB / 0.9837 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.162, allocations: 140.8 kB / 0.9839 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/1.162, allocations: 48.59 kB / 0.9839 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/1.162, allocations: 35.97 kB / 0.984 GB, free: 10.72 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001383/1.164, allocations: 1.216 MB / 0.9851 GB, free: 9.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/1.164, allocations: 4 kB / 0.9852 GB, free: 9.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001917/1.166, allocations: 0.9624 MB / 0.9861 GB, free: 8.516 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.00394/1.17, allocations: 2.522 MB / 0.9886 GB, free: 5.984 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003293/1.173, allocations: 1.692 MB / 0.9902 GB, free: 4.359 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.173, allocations: 4 kB / 0.9902 GB, free: 4.355 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.174, allocations: 486.7 kB / 0.9907 GB, free: 3.898 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/1.178, allocations: 1.003 MB / 0.9917 GB, free: 2.926 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.201, allocations: 15.71 MB / 1.007 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/1.202, allocations: 1.57 MB / 1.009 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001687/1.204, allocations: 488.6 kB / 1.009 GB, free: 72 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.205, allocations: 0.8529 MB / 1.01 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/1.205, allocations: 0 / 1.01 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.721/2.926, allocations: 51.36 MB / 1.06 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/2.926, allocations: 273.2 kB / 1.06 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/6.435, allocations: 0 / 1.06 GB, free: 12.27 MB / 0.7481 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/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)