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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001157, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7336/0.7336, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.754/1.754, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.77 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.77e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.824/4.976, allocations: 1.908 GB / 2.549 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/4.976, allocations: 91.94 kB / 2.549 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.415/12.39, allocations: 1.673 GB / 4.222 GB, free: 79.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/12.39, allocations: 0 / 4.222 GB, free: 79.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005684/12.39, allocations: 66.11 kB / 4.222 GB, free: 79.08 MB / 0.7448 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.01038/12.4, allocations: 2.516 MB / 4.224 GB, free: 78.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/12.4, allocations: 9.562 kB / 4.224 GB, free: 78.26 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009715/12.4, allocations: 198.1 kB / 4.224 GB, free: 78.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/12.41, allocations: 0.814 MB / 4.225 GB, free: 78.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/12.42, allocations: 2.658 MB / 4.228 GB, free: 77.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/12.42, allocations: 114.4 kB / 4.228 GB, free: 77.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008736/12.42, allocations: 156.8 kB / 4.228 GB, free: 77.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/12.43, allocations: 1.516 MB / 4.23 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/12.43, allocations: 0 / 4.23 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/12.43, allocations: 54.91 kB / 4.23 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/12.43, allocations: 50.27 kB / 4.23 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/12.43, allocations: 1.152 MB / 4.231 GB, free: 77.44 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.01519/12.45, allocations: 7.414 MB / 4.238 GB, free: 73.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/12.45, allocations: 0.9461 MB / 4.239 GB, free: 73.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009606/12.45, allocations: 428.4 kB / 4.239 GB, free: 73.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/12.45, allocations: 106.6 kB / 4.24 GB, free: 73.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/12.45, allocations: 44.97 kB / 4.24 GB, free: 73.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00192/12.45, allocations: 229.2 kB / 4.24 GB, free: 73.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 5.29e-06/12.45, allocations: 0 / 4.24 GB, free: 73.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.003608/12.46, allocations: 0.9895 MB / 4.241 GB, free: 73.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/12.46, allocations: 62.38 kB / 4.241 GB, free: 73.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/12.46, allocations: 1.503 MB / 4.242 GB, free: 72.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/12.46, allocations: 47.14 kB / 4.242 GB, free: 72.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/12.46, allocations: 0.9779 MB / 4.243 GB, free: 72.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/12.46, allocations: 269.6 kB / 4.244 GB, free: 72.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/12.46, allocations: 22.41 kB / 4.244 GB, free: 72.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001091/12.46, allocations: 351 kB / 4.244 GB, free: 72.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/12.46, allocations: 329.8 kB / 4.244 GB, free: 72.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/12.46, allocations: 0.7563 MB / 4.245 GB, free: 71.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/12.46, allocations: 445.1 kB / 4.245 GB, free: 71.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/12.46, allocations: 5.594 kB / 4.245 GB, free: 71.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002549/12.47, allocations: 1.307 MB / 4.247 GB, free: 71.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007686/12.47, allocations: 3.964 MB / 4.251 GB, free: 67.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/12.47, allocations: 12.05 kB / 4.251 GB, free: 67.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/12.47, allocations: 112.5 kB / 4.251 GB, free: 67.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/12.47, allocations: 256.2 kB / 4.251 GB, free: 67.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/12.47, allocations: 2.374 MB / 4.253 GB, free: 65.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/12.47, allocations: 142.9 kB / 4.253 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/12.47, allocations: 57.59 kB / 4.253 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/12.47, allocations: 4.406 kB / 4.253 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/12.47, allocations: 1.075 MB / 4.254 GB, free: 65.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/12.47, allocations: 7.25 kB / 4.254 GB, free: 65.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/12.47, allocations: 111.3 kB / 4.255 GB, free: 65.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/12.48, allocations: 233.1 kB / 4.255 GB, free: 65.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/12.48, allocations: 1.766 MB / 4.257 GB, free: 64.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/12.48, allocations: 140.7 kB / 4.257 GB, free: 64.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/12.48, allocations: 53.03 kB / 4.257 GB, free: 64.1 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003764/12.48, allocations: 175.6 kB / 4.257 GB, free: 63.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/12.48, allocations: 192.8 kB / 4.257 GB, free: 63.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/12.48, allocations: 1.046 MB / 4.258 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/12.48, allocations: 16.02 kB / 4.258 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/12.48, allocations: 0 / 4.258 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/12.48, allocations: 0.87 MB / 4.259 GB, free: 63.61 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.005571/12.49, allocations: 2.855 MB / 4.262 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/12.49, allocations: 7.609 kB / 4.262 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000876/12.49, allocations: 191.4 kB / 4.262 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/12.49, allocations: 88.05 kB / 4.262 GB, free: 62.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/12.49, allocations: 21.16 kB / 4.262 GB, free: 62.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/12.49, allocations: 2.241 MB / 4.264 GB, free: 61.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/12.49, allocations: 5.438 kB / 4.264 GB, free: 61.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/12.5, allocations: 1.628 MB / 4.266 GB, free: 60.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009965/12.5, allocations: 345.2 kB / 4.266 GB, free: 60.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/12.5, allocations: 19 kB / 4.266 GB, free: 60.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/12.5, allocations: 125.1 kB / 4.266 GB, free: 60.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/12.5, allocations: 56.7 kB / 4.266 GB, free: 60.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/12.5, allocations: 31.03 kB / 4.266 GB, free: 60.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001664/12.5, allocations: 1.168 MB / 4.267 GB, free: 60.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/12.5, allocations: 1.125 kB / 4.267 GB, free: 60.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004287/12.5, allocations: 1.38 MB / 4.269 GB, free: 60.17 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008424/12.51, allocations: 6.565 MB / 4.275 GB, free: 57.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003214/12.52, allocations: 1.72 MB / 4.277 GB, free: 56.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/12.52, allocations: 3.344 kB / 4.277 GB, free: 56.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007356/12.52, allocations: 0.5098 MB / 4.277 GB, free: 56.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/12.52, allocations: 0.9984 MB / 4.278 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/12.53, allocations: 3.204 MB / 4.282 GB, free: 55.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/12.53, allocations: 1.626 MB / 4.283 GB, free: 55.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003146/12.53, allocations: 0.7223 MB / 4.284 GB, free: 55.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009551/12.53, allocations: 0.8099 MB / 4.285 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/12.53, allocations: 0 / 4.285 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.195/12.73, allocations: 116.8 MB / 4.399 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/12.73, allocations: 220.4 kB / 4.399 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.155/18.88, allocations: 11.88 kB / 4.399 GB, free: 43.16 MB / 0.7448 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)