Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="IDEAS_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.001406/0.001407, allocations: 174.7 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.7286/0.7286, 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.679/1.679, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0008693/0.0008693, allocations: 97.3 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 3.469 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.575/4.738, allocations: 1.913 GB / 2.554 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.738, allocations: 87.95 kB / 2.554 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 20.5/25.24, allocations: 4.408 GB / 6.962 GB, free: 54.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.867e-06/25.24, allocations: 0 / 6.962 GB, free: 54.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001913/25.24, allocations: 152.8 kB / 6.962 GB, free: 54.77 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.02689/25.27, allocations: 5.975 MB / 6.968 GB, free: 52.49 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/25.27, allocations: 12 kB / 6.968 GB, free: 52.49 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002608/25.27, allocations: 433.9 kB / 6.968 GB, free: 52.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/25.29, allocations: 1.639 MB / 6.97 GB, free: 52.05 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03593/25.32, allocations: 11.07 MB / 6.981 GB, free: 50.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/25.32, allocations: 282.1 kB / 6.981 GB, free: 50.87 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/25.33, allocations: 378 kB / 6.981 GB, free: 50.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/25.34, allocations: 4.136 MB / 6.985 GB, free: 50.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002894/25.34, allocations: 13 kB / 6.985 GB, free: 50.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/25.34, allocations: 136.1 kB / 6.986 GB, free: 50.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/25.34, allocations: 124.7 kB / 6.986 GB, free: 50.53 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/25.36, allocations: 3.077 MB / 6.989 GB, free: 50.5 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.05366/25.41, allocations: 20.14 MB / 7.008 GB, free: 42.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008455/25.42, allocations: 3.014 MB / 7.011 GB, free: 42.44 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003388/25.42, allocations: 1.36 MB / 7.013 GB, free: 42.42 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/25.42, allocations: 234.3 kB / 7.013 GB, free: 42.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004335/25.43, allocations: 1.783 MB / 7.015 GB, free: 42.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005338/25.43, allocations: 347.9 kB / 7.015 GB, free: 42.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=211): time 2.255e-05/25.43, allocations: 0 / 7.015 GB, free: 42.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211): time 0.01039/25.44, allocations: 2.896 MB / 7.018 GB, free: 41.63 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/25.44, allocations: 77.03 kB / 7.018 GB, free: 41.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02177/25.46, allocations: 6.32 MB / 7.024 GB, free: 41.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/25.47, allocations: 90.03 kB / 7.024 GB, free: 41.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005465/25.47, allocations: 2.777 MB / 7.027 GB, free: 40.49 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00193/25.47, allocations: 0.7357 MB / 7.028 GB, free: 40.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/25.47, allocations: 59.62 kB / 7.028 GB, free: 40.01 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004719/25.47, allocations: 430.8 kB / 7.028 GB, free: 39.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/25.48, allocations: 1.216 MB / 7.029 GB, free: 39.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005672/25.48, allocations: 2.452 MB / 7.032 GB, free: 38.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005549/25.49, allocations: 1.594 MB / 7.033 GB, free: 38.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.272e-05/25.49, allocations: 9.75 kB / 7.033 GB, free: 38.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01339/25.5, allocations: 4.273 MB / 7.037 GB, free: 37.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005442/25.51, allocations: 14.79 MB / 7.052 GB, free: 38.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/25.51, allocations: 29.72 kB / 7.052 GB, free: 38.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/25.51, allocations: 244.6 kB / 7.052 GB, free: 38.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/25.51, allocations: 0.7619 MB / 7.053 GB, free: 38.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/25.52, allocations: 3.468 MB / 7.056 GB, free: 35.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008244/25.53, allocations: 342.9 kB / 7.056 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/25.53, allocations: 266.3 kB / 7.057 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/25.53, allocations: 3.531 kB / 7.057 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01154/25.54, allocations: 4.107 MB / 7.061 GB, free: 35.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/25.54, allocations: 29.69 kB / 7.061 GB, free: 35.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/25.54, allocations: 0.5538 MB / 7.061 GB, free: 35.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/25.54, allocations: 0.7371 MB / 7.062 GB, free: 35.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/25.56, allocations: 7.244 MB / 7.069 GB, free: 32.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008566/25.57, allocations: 334 kB / 7.069 GB, free: 32.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/25.57, allocations: 233.5 kB / 7.07 GB, free: 32.12 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.002779/25.57, allocations: 304.9 kB / 7.07 GB, free: 31.99 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00299/25.57, allocations: 0.55 MB / 7.07 GB, free: 31.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009183/25.58, allocations: 3.269 MB / 7.074 GB, free: 31.49 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/25.58, allocations: 22.16 kB / 7.074 GB, free: 31.49 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/25.58, allocations: 2.875 kB / 7.074 GB, free: 31.49 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003991/25.59, allocations: 2.743 MB / 7.076 GB, free: 30.97 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.02708/25.61, allocations: 9.019 MB / 7.085 GB, free: 30.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/25.61, allocations: 0 / 7.085 GB, free: 30.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/25.62, allocations: 0.5484 MB / 7.086 GB, free: 30.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006963/25.62, allocations: 227.7 kB / 7.086 GB, free: 30.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000446/25.62, allocations: 75.11 kB / 7.086 GB, free: 30.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/25.62, allocations: 3.29 MB / 7.089 GB, free: 27.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/25.62, allocations: 4.625 kB / 7.089 GB, free: 27.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009332/25.63, allocations: 4.942 MB / 7.094 GB, free: 26.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005029/25.63, allocations: 1.215 MB / 7.095 GB, free: 25.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002685/25.64, allocations: 54.23 kB / 7.095 GB, free: 25.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006026/25.64, allocations: 330.7 kB / 7.096 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/25.64, allocations: 140.1 kB / 7.096 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004044/25.64, allocations: 106.8 kB / 7.096 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01204/25.66, allocations: 4.811 MB / 7.101 GB, free: 25.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.62e-07/25.66, allocations: 0 / 7.101 GB, free: 25.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01806/25.67, allocations: 3.549 MB / 7.104 GB, free: 25.26 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.02777/25.7, allocations: 16.59 MB / 7.12 GB, free: 17.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01235/25.71, allocations: 5.764 MB / 7.126 GB, free: 17.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/25.72, allocations: 0 / 7.126 GB, free: 17.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/25.72, allocations: 1.321 MB / 7.127 GB, free: 17.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01812/25.74, allocations: 3.222 MB / 7.13 GB, free: 17.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/25.77, allocations: 10.39 MB / 7.14 GB, free: 30.78 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00631/25.78, allocations: 3.577 MB / 7.144 GB, free: 29.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01552/25.79, allocations: 2.951 MB / 7.147 GB, free: 29.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005215/25.8, allocations: 2.557 MB / 7.149 GB, free: 29.88 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/25.8, allocations: 0 / 7.149 GB, free: 29.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.313/27.11, allocations: 299.2 MB / 7.441 GB, free: 59.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/27.11, allocations: 231.6 kB / 7.442 GB, free: 59.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/42.26, allocations: 0 / 7.442 GB, free: 59.37 MB / 0.8855 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)