Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.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.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",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.01043/0.01043, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7839/0.7839, allocations: 135.2 MB / 151 MB, free: 13.84 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.616/1.616, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.000994/0.0009939, allocations: 91.39 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.542, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/5.668, allocations: 1.911 GB / 2.561 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/5.669, allocations: 96.45 kB / 2.561 GB, free: 25.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.164/8.832, allocations: 0.8112 GB / 3.372 GB, free: 98.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/8.832, allocations: 0 / 3.372 GB, free: 98.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002245/8.832, allocations: 39.09 kB / 3.372 GB, free: 98.25 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.008735/8.841, allocations: 2.326 MB / 3.374 GB, free: 97.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/8.841, allocations: 9.531 kB / 3.374 GB, free: 97.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006236/8.842, allocations: 150.3 kB / 3.374 GB, free: 97.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/8.845, allocations: 425.8 kB / 3.375 GB, free: 97.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005897/8.851, allocations: 1.834 MB / 3.376 GB, free: 97.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/8.851, allocations: 80.06 kB / 3.377 GB, free: 97.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/8.852, allocations: 115.9 kB / 3.377 GB, free: 97.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/8.854, allocations: 1.153 MB / 3.378 GB, free: 97.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/8.854, allocations: 3.75 kB / 3.378 GB, free: 97.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/8.855, allocations: 37.78 kB / 3.378 GB, free: 97.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/8.855, allocations: 43.52 kB / 3.378 GB, free: 97.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/8.856, allocations: 0.9168 MB / 3.379 GB, free: 97.05 MB / 0.698 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.008239/8.865, allocations: 4.934 MB / 3.384 GB, free: 94.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/8.867, allocations: 0.94 MB / 3.385 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/8.867, allocations: 106.2 kB / 3.385 GB, free: 94.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009373/8.868, allocations: 484.4 kB / 3.385 GB, free: 94.59 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00112/8.869, allocations: 87.33 kB / 3.385 GB, free: 94.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 5.1e-06/8.869, allocations: 0 / 3.385 GB, free: 94.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.003448/8.873, allocations: 1.306 MB / 3.386 GB, free: 94.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/8.873, allocations: 113.3 kB / 3.387 GB, free: 94.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/8.874, allocations: 1.022 MB / 3.388 GB, free: 94.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/8.875, allocations: 42.92 kB / 3.388 GB, free: 94.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/8.875, allocations: 0.649 MB / 3.388 GB, free: 93.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/8.875, allocations: 251 kB / 3.388 GB, free: 93.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/8.875, allocations: 18.81 kB / 3.388 GB, free: 93.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/8.876, allocations: 339.9 kB / 3.389 GB, free: 93.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/8.876, allocations: 331.5 kB / 3.389 GB, free: 93.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/8.877, allocations: 0.6004 MB / 3.39 GB, free: 93.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/8.878, allocations: 439.5 kB / 3.39 GB, free: 93.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/8.878, allocations: 0 / 3.39 GB, free: 93.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00217/8.88, allocations: 1.125 MB / 3.391 GB, free: 92.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004183/8.88, allocations: 2.071 MB / 3.393 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/8.88, allocations: 13.75 kB / 3.393 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/8.881, allocations: 71.16 kB / 3.393 GB, free: 90.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/8.882, allocations: 210.8 kB / 3.394 GB, free: 90.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006183/8.882, allocations: 1.197 MB / 3.395 GB, free: 89.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/8.884, allocations: 104.7 kB / 3.395 GB, free: 89.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/8.884, allocations: 53.34 kB / 3.395 GB, free: 89.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/8.884, allocations: 6.781 kB / 3.395 GB, free: 89.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001919/8.886, allocations: 1.012 MB / 3.396 GB, free: 89.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/8.886, allocations: 7 kB / 3.396 GB, free: 89.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/8.886, allocations: 115.5 kB / 3.396 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/8.887, allocations: 193 kB / 3.396 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/8.892, allocations: 2.723 MB / 3.399 GB, free: 87.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/8.893, allocations: 101 kB / 3.399 GB, free: 87.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/8.893, allocations: 45.8 kB / 3.399 GB, free: 87.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.001031/8.894, allocations: 471.7 kB / 3.399 GB, free: 87.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/8.895, allocations: 134.1 kB / 3.4 GB, free: 87.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/8.897, allocations: 0.9845 MB / 3.4 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/8.897, allocations: 12.97 kB / 3.4 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/8.897, allocations: 0 / 3.4 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/8.898, allocations: 0.8854 MB / 3.401 GB, free: 87.4 MB / 0.698 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.004387/8.903, allocations: 2.31 MB / 3.404 GB, free: 86.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/8.903, allocations: 1.719 kB / 3.404 GB, free: 86.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/8.904, allocations: 166.8 kB / 3.404 GB, free: 86.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/8.904, allocations: 86.39 kB / 3.404 GB, free: 86.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/8.904, allocations: 25.28 kB / 3.404 GB, free: 86.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004895/8.904, allocations: 1.194 MB / 3.405 GB, free: 85.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/8.904, allocations: 2.844 kB / 3.405 GB, free: 85.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/8.907, allocations: 1.528 MB / 3.407 GB, free: 85.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/8.908, allocations: 284.2 kB / 3.407 GB, free: 85.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/8.908, allocations: 26.7 kB / 3.407 GB, free: 85.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000902/8.909, allocations: 101.4 kB / 3.407 GB, free: 85.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/8.909, allocations: 49.39 kB / 3.407 GB, free: 85.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/8.909, allocations: 35.8 kB / 3.407 GB, free: 85.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001139/8.91, allocations: 0.7882 MB / 3.408 GB, free: 85.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/8.91, allocations: 0 / 3.408 GB, free: 85.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003224/8.914, allocations: 1.047 MB / 3.409 GB, free: 85.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006817/8.92, allocations: 4.954 MB / 3.414 GB, free: 83.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003406/8.924, allocations: 1.595 MB / 3.415 GB, free: 82.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/8.924, allocations: 0 / 3.415 GB, free: 82.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/8.925, allocations: 426 kB / 3.416 GB, free: 82.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/8.928, allocations: 0.6206 MB / 3.416 GB, free: 82.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008177/8.936, allocations: 7.442 MB / 3.423 GB, free: 77.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/8.937, allocations: 1.316 MB / 3.425 GB, free: 77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001627/8.939, allocations: 326.4 kB / 3.425 GB, free: 76.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000705/8.939, allocations: 0.5508 MB / 3.426 GB, free: 76.97 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/8.939, allocations: 0 / 3.426 GB, free: 76.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/9.069, allocations: 72.25 MB / 3.496 GB, free: 74.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/9.069, allocations: 238.2 kB / 3.496 GB, free: 74.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.608/13.68, allocations: 3.719 kB / 3.496 GB, free: 74.37 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)