Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.001692/0.001692, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7518/0.7518, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.492/1.492, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.001089/0.001089, allocations: 97.27 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.724e-05, allocations: 8.141 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1888, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.744/4.932, allocations: 1.913 GB / 2.553 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/4.933, allocations: 97.02 kB / 2.554 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 19.23/24.16, allocations: 4.408 GB / 6.962 GB, free: 54.92 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.637e-06/24.16, allocations: 0.8438 kB / 6.962 GB, free: 54.92 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001435/24.16, allocations: 158 kB / 6.962 GB, free: 54.89 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.02783/24.19, allocations: 5.966 MB / 6.968 GB, free: 52.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/24.19, allocations: 11.12 kB / 6.968 GB, free: 52.62 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002365/24.19, allocations: 436.2 kB / 6.968 GB, free: 52.56 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/24.21, allocations: 1.637 MB / 6.97 GB, free: 52.18 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03159/24.24, allocations: 11.07 MB / 6.981 GB, free: 51 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/24.24, allocations: 277.4 kB / 6.981 GB, free: 51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/24.24, allocations: 380.8 kB / 6.981 GB, free: 50.99 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/24.26, allocations: 4.14 MB / 6.985 GB, free: 50.67 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-05/24.26, allocations: 2.625 kB / 6.985 GB, free: 50.67 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005421/24.26, allocations: 131.1 kB / 6.986 GB, free: 50.67 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/24.26, allocations: 121.8 kB / 6.986 GB, free: 50.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007568/24.26, allocations: 3.075 MB / 6.989 GB, free: 50.63 MB / 0.8542 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.04711/24.31, allocations: 20.14 MB / 7.008 GB, free: 42.99 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008015/24.32, allocations: 3.012 MB / 7.011 GB, free: 42.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/24.32, allocations: 1.363 MB / 7.013 GB, free: 42.55 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/24.32, allocations: 233.9 kB / 7.013 GB, free: 42.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004316/24.33, allocations: 1.779 MB / 7.015 GB, free: 42.28 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005986/24.33, allocations: 347 kB / 7.015 GB, free: 42.17 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=211): time 3.501e-05/24.33, allocations: 0 / 7.015 GB, free: 42.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211): time 0.01387/24.35, allocations: 2.898 MB / 7.018 GB, free: 41.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/24.35, allocations: 81.3 kB / 7.018 GB, free: 41.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0207/24.37, allocations: 6.313 MB / 7.024 GB, free: 41.29 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001524/24.37, allocations: 92.25 kB / 7.024 GB, free: 41.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.006402/24.38, allocations: 2.781 MB / 7.027 GB, free: 40.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/24.38, allocations: 0.7342 MB / 7.028 GB, free: 40.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/24.38, allocations: 57.42 kB / 7.028 GB, free: 40.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004677/24.38, allocations: 433.5 kB / 7.028 GB, free: 39.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/24.38, allocations: 1.224 MB / 7.029 GB, free: 39.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/24.39, allocations: 2.452 MB / 7.032 GB, free: 38.37 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/24.39, allocations: 1.593 MB / 7.033 GB, free: 38.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.225e-05/24.39, allocations: 7.062 kB / 7.033 GB, free: 38.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01336/24.41, allocations: 4.267 MB / 7.037 GB, free: 37.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005515/24.41, allocations: 14.79 MB / 7.052 GB, free: 38.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/24.41, allocations: 30.66 kB / 7.052 GB, free: 38.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/24.41, allocations: 252.8 kB / 7.052 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/24.42, allocations: 0.7547 MB / 7.053 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/24.42, allocations: 3.467 MB / 7.056 GB, free: 35.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/24.43, allocations: 341.3 kB / 7.056 GB, free: 35.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/24.43, allocations: 268.2 kB / 7.057 GB, free: 35.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/24.43, allocations: 3.062 kB / 7.057 GB, free: 35.64 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01162/24.44, allocations: 4.109 MB / 7.061 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/24.44, allocations: 28.22 kB / 7.061 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/24.44, allocations: 0.5547 MB / 7.061 GB, free: 35.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/24.45, allocations: 0.7384 MB / 7.062 GB, free: 35.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/24.46, allocations: 7.239 MB / 7.069 GB, free: 32.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008587/24.47, allocations: 342.8 kB / 7.069 GB, free: 32.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/24.47, allocations: 232.9 kB / 7.07 GB, free: 32.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 345 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002712/24.47, allocations: 299 kB / 7.07 GB, free: 32.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003233/24.48, allocations: 0.5616 MB / 7.07 GB, free: 31.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/24.49, allocations: 3.268 MB / 7.074 GB, free: 31.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/24.49, allocations: 22.56 kB / 7.074 GB, free: 31.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/24.49, allocations: 0 / 7.074 GB, free: 31.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005292/24.49, allocations: 2.741 MB / 7.076 GB, free: 31.1 MB / 0.8698 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.02838/24.52, allocations: 9.015 MB / 7.085 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/24.52, allocations: 2.75 kB / 7.085 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/24.53, allocations: 0.5553 MB / 7.086 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007303/24.53, allocations: 229.6 kB / 7.086 GB, free: 30.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004945/24.53, allocations: 70.27 kB / 7.086 GB, free: 30.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/24.53, allocations: 3.292 MB / 7.089 GB, free: 27.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/24.53, allocations: 5.594 kB / 7.089 GB, free: 27.39 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/24.54, allocations: 4.936 MB / 7.094 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006081/24.55, allocations: 1.217 MB / 7.095 GB, free: 25.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003228/24.55, allocations: 52.12 kB / 7.095 GB, free: 25.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007131/24.56, allocations: 330.2 kB / 7.096 GB, free: 25.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000979/24.56, allocations: 147.6 kB / 7.096 GB, free: 25.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006863/24.56, allocations: 106.3 kB / 7.096 GB, free: 25.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01326/24.57, allocations: 4.811 MB / 7.101 GB, free: 25.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.02e-07/24.57, allocations: 0 / 7.101 GB, free: 25.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01992/24.59, allocations: 3.545 MB / 7.104 GB, free: 25.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03169/24.62, allocations: 16.58 MB / 7.12 GB, free: 17.72 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0127/24.64, allocations: 5.758 MB / 7.126 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/24.64, allocations: 3.469 kB / 7.126 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00297/24.64, allocations: 1.321 MB / 7.127 GB, free: 17.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01965/24.66, allocations: 3.228 MB / 7.13 GB, free: 17.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/24.69, allocations: 10.39 MB / 7.14 GB, free: 30.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004171/24.7, allocations: 3.579 MB / 7.144 GB, free: 30.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01646/24.71, allocations: 2.958 MB / 7.147 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006183/24.72, allocations: 2.557 MB / 7.149 GB, free: 30.01 MB / 0.8855 GB Notification: Performance of SimCode: time 2.365e-06/24.72, allocations: 3.281 kB / 7.149 GB, free: 30.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.349/26.07, allocations: 299.2 MB / 7.441 GB, free: 59.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/26.07, allocations: 232.5 kB / 7.442 GB, free: 59.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/42.35, allocations: 0 / 7.442 GB, free: 59.38 MB / 0.8855 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)