Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_dev_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.01726/0.01726, 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 1.223/1.223, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.507/2.507, 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.001611/0.001611, allocations: 92.14 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007099/0.0007098, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9023, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.758/10.66, allocations: 1.911 GB / 2.561 GB, free: 62.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005398/10.66, allocations: 99.95 kB / 2.561 GB, free: 62.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.922/16.58, allocations: 0.8112 GB / 3.372 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.849e-06/16.58, allocations: 4 kB / 3.372 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004675/16.58, allocations: 43.98 kB / 3.372 GB, free: 9.328 MB / 0.6823 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.01314/16.6, allocations: 2.323 MB / 3.374 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.782e-05/16.6, allocations: 8.031 kB / 3.374 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/16.6, allocations: 148 kB / 3.374 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005212/16.6, allocations: 428.8 kB / 3.375 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008823/16.61, allocations: 1.827 MB / 3.376 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/16.61, allocations: 81.94 kB / 3.377 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007694/16.61, allocations: 111.9 kB / 3.377 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/16.62, allocations: 1.16 MB / 3.378 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.028e-05/16.62, allocations: 3.984 kB / 3.378 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/16.62, allocations: 44 kB / 3.378 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/16.62, allocations: 38.33 kB / 3.378 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/16.62, allocations: 0.9095 MB / 3.379 GB, free: 2.105 MB / 0.6823 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.01702/16.64, allocations: 4.949 MB / 3.384 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/16.64, allocations: 0.9444 MB / 3.385 GB, free: 11.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/16.64, allocations: 106.7 kB / 3.385 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/16.64, allocations: 484.2 kB / 3.385 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001598/16.65, allocations: 87.34 kB / 3.385 GB, free: 11.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 1.347e-05/16.65, allocations: 0 / 3.385 GB, free: 11.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.005513/16.65, allocations: 1.295 MB / 3.386 GB, free: 9.836 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/16.65, allocations: 111.5 kB / 3.387 GB, free: 9.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/16.66, allocations: 1.016 MB / 3.388 GB, free: 8.676 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/16.66, allocations: 45.7 kB / 3.388 GB, free: 8.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/16.66, allocations: 0.6498 MB / 3.388 GB, free: 7.969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004793/16.66, allocations: 256.3 kB / 3.388 GB, free: 7.715 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/16.66, allocations: 16 kB / 3.388 GB, free: 7.699 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000315/16.66, allocations: 337.9 kB / 3.389 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/16.66, allocations: 329.8 kB / 3.389 GB, free: 7.043 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/16.66, allocations: 0.5956 MB / 3.39 GB, free: 6.336 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/16.66, allocations: 446.8 kB / 3.39 GB, free: 5.895 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/16.66, allocations: 4 kB / 3.39 GB, free: 5.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004066/16.67, allocations: 1.121 MB / 3.391 GB, free: 4.754 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001793/16.67, allocations: 2.073 MB / 3.393 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/16.67, allocations: 8 kB / 3.393 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/16.67, allocations: 76.8 kB / 3.393 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/16.67, allocations: 211.7 kB / 3.394 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/16.67, allocations: 1.205 MB / 3.395 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/16.67, allocations: 103.9 kB / 3.395 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/16.67, allocations: 47.98 kB / 3.395 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/16.67, allocations: 8.562 kB / 3.395 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8735/17.55, allocations: 1.004 MB / 3.396 GB, free: 98.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/17.55, allocations: 7.844 kB / 3.396 GB, free: 98.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007983/17.55, allocations: 106.8 kB / 3.396 GB, free: 98.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/17.55, allocations: 197.3 kB / 3.396 GB, free: 98.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007932/17.56, allocations: 2.725 MB / 3.399 GB, free: 97.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/17.56, allocations: 98.86 kB / 3.399 GB, free: 97.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/17.56, allocations: 45.58 kB / 3.399 GB, free: 97.11 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.001843/17.56, allocations: 465.3 kB / 3.399 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/17.56, allocations: 138.2 kB / 3.4 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/17.57, allocations: 0.9952 MB / 3.4 GB, free: 96.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/17.57, allocations: 7.438 kB / 3.4 GB, free: 96.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/17.57, allocations: 4.828 kB / 3.4 GB, free: 96.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003562/17.57, allocations: 0.8755 MB / 3.401 GB, free: 96.68 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.008703/17.58, allocations: 2.322 MB / 3.404 GB, free: 96.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/17.58, allocations: 4.25 kB / 3.404 GB, free: 96.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/17.58, allocations: 166.2 kB / 3.404 GB, free: 96.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/17.58, allocations: 79.59 kB / 3.404 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/17.58, allocations: 25.25 kB / 3.404 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009573/17.58, allocations: 1.202 MB / 3.405 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/17.58, allocations: 3.469 kB / 3.405 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/17.59, allocations: 1.527 MB / 3.407 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/17.59, allocations: 282.5 kB / 3.407 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/17.59, allocations: 16.16 kB / 3.407 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/17.59, allocations: 105 kB / 3.407 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/17.59, allocations: 56.08 kB / 3.407 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/17.59, allocations: 30.7 kB / 3.407 GB, free: 94.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002809/17.6, allocations: 0.7882 MB / 3.408 GB, free: 94.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/17.6, allocations: 0 / 3.408 GB, free: 94.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006989/17.6, allocations: 1.048 MB / 3.409 GB, free: 94.54 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.014/17.62, allocations: 4.945 MB / 3.414 GB, free: 92.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006802/17.62, allocations: 1.594 MB / 3.415 GB, free: 92.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/17.62, allocations: 0 / 3.415 GB, free: 92.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/17.63, allocations: 417 kB / 3.416 GB, free: 92.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/17.63, allocations: 0.6311 MB / 3.416 GB, free: 92.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/17.66, allocations: 7.439 MB / 3.423 GB, free: 87.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/17.66, allocations: 1.312 MB / 3.425 GB, free: 86.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003472/17.67, allocations: 336.8 kB / 3.425 GB, free: 86.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/17.67, allocations: 0.5592 MB / 3.426 GB, free: 86.51 MB / 0.698 GB Notification: Performance of SimCode: time 2.414e-06/17.67, allocations: 0 / 3.426 GB, free: 86.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/17.87, allocations: 72.26 MB / 3.496 GB, free: 84.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/17.87, allocations: 232.6 kB / 3.496 GB, free: 84.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/25.48, allocations: 0 / 3.496 GB, free: 84.19 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)