Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",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.001372/0.001372, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9881/0.9881, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 395.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009239, allocations: 104.2 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.931e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.511, allocations: 82.29 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.674/5.185, allocations: 1.912 GB / 2.546 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/5.185, allocations: 91.92 kB / 2.546 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.61/23.8, allocations: 4.335 GB / 6.882 GB, free: 50.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.545e-06/23.8, allocations: 0 / 6.882 GB, free: 50.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001263/23.8, allocations: 145.4 kB / 6.882 GB, free: 50.19 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.01901/23.82, allocations: 5.703 MB / 6.888 GB, free: 47.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/23.82, allocations: 9.938 kB / 6.888 GB, free: 47.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/23.83, allocations: 1.44 MB / 6.889 GB, free: 46.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02865/23.86, allocations: 10.82 MB / 6.9 GB, free: 45.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/23.86, allocations: 93.61 kB / 6.9 GB, free: 45.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/23.86, allocations: 210.9 kB / 6.9 GB, free: 45.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007837/23.87, allocations: 3.217 MB / 6.903 GB, free: 45.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006526/23.87, allocations: 3.435 MB / 6.906 GB, free: 45.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/23.87, allocations: 3.938 kB / 6.906 GB, free: 45.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/23.87, allocations: 3.875 kB / 6.906 GB, free: 45.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.978e-05/23.87, allocations: 102.6 kB / 6.906 GB, free: 45.12 MB / 0.8386 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.02873/23.9, allocations: 18.76 MB / 6.925 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004964/23.91, allocations: 3.353 MB / 6.928 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/23.91, allocations: 1.551 MB / 6.93 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/23.91, allocations: 230.1 kB / 6.93 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/23.91, allocations: 1.55 MB / 6.931 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003255/23.92, allocations: 332.6 kB / 6.932 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=180): time 6.723e-06/23.92, allocations: 0 / 6.932 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=180): time 0.006971/23.92, allocations: 3.525 MB / 6.935 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/23.92, allocations: 71.44 kB / 6.935 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/23.93, allocations: 5.709 MB / 6.941 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009866/23.94, allocations: 29.7 kB / 6.941 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002818/23.94, allocations: 2.657 MB / 6.943 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/23.94, allocations: 0.6018 MB / 6.944 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/23.94, allocations: 0 / 6.944 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001655/23.94, allocations: 425.5 kB / 6.944 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/23.94, allocations: 1.432 MB / 6.946 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/23.94, allocations: 2.659 MB / 6.948 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/23.95, allocations: 1.856 MB / 6.95 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/23.95, allocations: 11.95 kB / 6.95 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.008011/23.95, allocations: 4.616 MB / 6.955 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.004258/23.96, allocations: 14.95 MB / 6.969 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.282e-05/23.96, allocations: 32 kB / 6.969 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/23.96, allocations: 439.5 kB / 6.97 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/23.96, allocations: 0.6509 MB / 6.97 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/23.97, allocations: 4.474 MB / 6.975 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/23.97, allocations: 274 kB / 6.975 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007961/23.98, allocations: 254.2 kB / 6.975 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/23.98, allocations: 4.938 kB / 6.975 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006925/23.98, allocations: 3.582 MB / 6.979 GB, free: 16 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/23.98, allocations: 39.36 kB / 6.979 GB, free: 0 / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8062/24.79, allocations: 0.5246 MB / 6.979 GB, free: 77.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/24.79, allocations: 0.6522 MB / 6.98 GB, free: 77.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/24.8, allocations: 7.039 MB / 6.987 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00677/24.81, allocations: 264.2 kB / 6.987 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/24.81, allocations: 227.4 kB / 6.987 GB, free: 74.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (322): * Single equations (assignments): 312 * 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.001238/24.81, allocations: 201.1 kB / 6.987 GB, free: 74.17 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006906/24.82, allocations: 2.542 MB / 6.99 GB, free: 74.08 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/24.82, allocations: 0.5135 MB / 6.99 GB, free: 73.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/24.83, allocations: 2.822 MB / 6.993 GB, free: 73.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/24.83, allocations: 18.41 kB / 6.993 GB, free: 73.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/24.83, allocations: 1.188 kB / 6.993 GB, free: 73.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00409/24.83, allocations: 2.428 MB / 6.995 GB, free: 73.22 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 postOpt removeSimpleEquations (simulation): time 0.0215/24.85, allocations: 7.925 MB / 7.003 GB, free: 72.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/24.85, allocations: 4.312 kB / 7.003 GB, free: 72.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/24.86, allocations: 483.9 kB / 7.004 GB, free: 72.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/24.86, allocations: 173.5 kB / 7.004 GB, free: 72.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/24.86, allocations: 33.17 kB / 7.004 GB, free: 72.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/24.86, allocations: 3.347 MB / 7.007 GB, free: 69.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/24.86, allocations: 2.688 kB / 7.007 GB, free: 69.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/24.87, allocations: 4.363 MB / 7.011 GB, free: 68.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004042/24.87, allocations: 1.128 MB / 7.013 GB, free: 68.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/24.87, allocations: 17.16 kB / 7.013 GB, free: 68.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004894/24.88, allocations: 281 kB / 7.013 GB, free: 68.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004549/24.88, allocations: 127.1 kB / 7.013 GB, free: 68.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/24.88, allocations: 88.38 kB / 7.013 GB, free: 68.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01103/24.89, allocations: 4.272 MB / 7.017 GB, free: 68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.21e-07/24.89, allocations: 0 / 7.017 GB, free: 68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0155/24.91, allocations: 3.095 MB / 7.02 GB, free: 67.86 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (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],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * 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 (176): * Single equations (assignments): 169 * 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.02722/24.93, allocations: 16.34 MB / 7.036 GB, free: 60.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.012/24.95, allocations: 5.739 MB / 7.042 GB, free: 59.97 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/24.95, allocations: 0 / 7.042 GB, free: 59.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/24.95, allocations: 1.113 MB / 7.043 GB, free: 59.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/24.96, allocations: 2.945 MB / 7.046 GB, free: 59.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/24.99, allocations: 9.492 MB / 7.055 GB, free: 57.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/25, allocations: 3.435 MB / 7.058 GB, free: 57.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01512/25.02, allocations: 2.749 MB / 7.061 GB, free: 56.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004992/25.02, allocations: 2.419 MB / 7.063 GB, free: 56.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.193e-06/25.02, allocations: 1.594 kB / 7.063 GB, free: 56.98 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3383/25.36, allocations: 211 MB / 7.269 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/25.36, allocations: 166.3 kB / 7.27 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/38.28, allocations: 1.531 kB / 7.27 GB, free: 0.832 MB / 0.8698 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)