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.001116/0.001116, allocations: 175 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.7234/0.7234, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.39/1.39, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.000906/0.0009061, allocations: 86.3 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.365e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.275/4.413, allocations: 1.911 GB / 2.551 GB, free: 17.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/4.413, allocations: 87.95 kB / 2.552 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.766/8.179, allocations: 0.8105 GB / 3.362 GB, free: 98.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/8.179, allocations: 2.344 kB / 3.362 GB, free: 98.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002212/8.179, allocations: 41.89 kB / 3.362 GB, free: 98.63 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.006415/8.185, allocations: 1.832 MB / 3.364 GB, free: 98.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/8.185, allocations: 9.594 kB / 3.364 GB, free: 98.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003454/8.186, allocations: 146 kB / 3.364 GB, free: 98.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/8.189, allocations: 428.1 kB / 3.364 GB, free: 98.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005954/8.195, allocations: 1.812 MB / 3.366 GB, free: 97.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/8.195, allocations: 76.56 kB / 3.366 GB, free: 97.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/8.196, allocations: 111.4 kB / 3.366 GB, free: 97.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/8.199, allocations: 1.104 MB / 3.367 GB, free: 97.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/8.199, allocations: 0.75 kB / 3.367 GB, free: 97.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/8.199, allocations: 39.84 kB / 3.367 GB, free: 97.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/8.199, allocations: 42.36 kB / 3.367 GB, free: 97.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/8.201, allocations: 0.8142 MB / 3.368 GB, free: 97.53 MB / 0.698 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.008654/8.21, allocations: 4.939 MB / 3.373 GB, free: 95.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/8.211, allocations: 0.8457 MB / 3.374 GB, free: 95.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/8.212, allocations: 354.8 kB / 3.374 GB, free: 95.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/8.212, allocations: 115.5 kB / 3.374 GB, free: 95.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/8.213, allocations: 434.4 kB / 3.375 GB, free: 95.05 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009161/8.214, allocations: 85.83 kB / 3.375 GB, free: 95.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.828e-06/8.214, allocations: 0 / 3.375 GB, free: 95.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.00175/8.215, allocations: 0.8058 MB / 3.376 GB, free: 94.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/8.215, allocations: 114.9 kB / 3.376 GB, free: 94.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/8.217, allocations: 0.9984 MB / 3.377 GB, free: 94.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/8.217, allocations: 46.84 kB / 3.377 GB, free: 94.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006845/8.218, allocations: 0.6529 MB / 3.377 GB, free: 94.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/8.218, allocations: 254.5 kB / 3.378 GB, free: 94.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/8.218, allocations: 16.12 kB / 3.378 GB, free: 94.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/8.218, allocations: 337 kB / 3.378 GB, free: 93.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/8.219, allocations: 281.9 kB / 3.378 GB, free: 93.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007047/8.219, allocations: 0.5487 MB / 3.379 GB, free: 93.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/8.22, allocations: 397.9 kB / 3.379 GB, free: 93.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/8.22, allocations: 1.25 kB / 3.379 GB, free: 93.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002093/8.222, allocations: 1.022 MB / 3.38 GB, free: 93.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006658/8.223, allocations: 2.068 MB / 3.382 GB, free: 91.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/8.223, allocations: 6.188 kB / 3.382 GB, free: 91.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/8.223, allocations: 76.12 kB / 3.382 GB, free: 91.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/8.225, allocations: 211.1 kB / 3.382 GB, free: 91.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008321/8.225, allocations: 1.208 MB / 3.384 GB, free: 90.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/8.227, allocations: 98.8 kB / 3.384 GB, free: 90.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/8.227, allocations: 56.06 kB / 3.384 GB, free: 90.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/8.227, allocations: 3.781 kB / 3.384 GB, free: 90.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002404/8.23, allocations: 0.9178 MB / 3.385 GB, free: 90.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/8.23, allocations: 8.281 kB / 3.385 GB, free: 90.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/8.23, allocations: 109.8 kB / 3.385 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/8.231, allocations: 198.9 kB / 3.385 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/8.237, allocations: 2.682 MB / 3.388 GB, free: 88.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/8.239, allocations: 95.88 kB / 3.388 GB, free: 88.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/8.239, allocations: 47.33 kB / 3.388 GB, free: 88.46 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 () * 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.0005387/8.24, allocations: 163.8 kB / 3.388 GB, free: 88.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/8.24, allocations: 134.7 kB / 3.388 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/8.243, allocations: 0.8997 MB / 3.389 GB, free: 88.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/8.243, allocations: 11.11 kB / 3.389 GB, free: 88.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/8.243, allocations: 0 / 3.389 GB, free: 88.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/8.245, allocations: 0.789 MB / 3.39 GB, free: 88.02 MB / 0.698 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.005651/8.25, allocations: 2.233 MB / 3.392 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/8.25, allocations: 1.281 kB / 3.392 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/8.251, allocations: 168.2 kB / 3.392 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/8.252, allocations: 87.55 kB / 3.392 GB, free: 87.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-05/8.252, allocations: 20.75 kB / 3.392 GB, free: 87.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007582/8.253, allocations: 1.186 MB / 3.393 GB, free: 86.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/8.253, allocations: 12.58 kB / 3.393 GB, free: 86.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/8.255, allocations: 1.393 MB / 3.395 GB, free: 86.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/8.256, allocations: 289.8 kB / 3.395 GB, free: 85.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/8.257, allocations: 17.59 kB / 3.395 GB, free: 85.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/8.258, allocations: 92.7 kB / 3.395 GB, free: 85.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/8.258, allocations: 56.56 kB / 3.395 GB, free: 85.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/8.258, allocations: 25.5 kB / 3.395 GB, free: 85.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001447/8.26, allocations: 0.7748 MB / 3.396 GB, free: 85.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/8.26, allocations: 0 / 3.396 GB, free: 85.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004764/8.264, allocations: 1.061 MB / 3.397 GB, free: 85.71 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) * 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.007996/8.272, allocations: 4.806 MB / 3.402 GB, free: 83.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003431/8.276, allocations: 1.501 MB / 3.403 GB, free: 83.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/8.276, allocations: 3.625 kB / 3.403 GB, free: 83.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007595/8.277, allocations: 370.3 kB / 3.403 GB, free: 83.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/8.28, allocations: 0.6304 MB / 3.404 GB, free: 83.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/8.289, allocations: 2.452 MB / 3.406 GB, free: 82.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/8.29, allocations: 1.314 MB / 3.408 GB, free: 82.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002844/8.293, allocations: 490.6 kB / 3.408 GB, free: 82.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/8.294, allocations: 0.532 MB / 3.409 GB, free: 82.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/8.294, allocations: 0 / 3.409 GB, free: 82.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/8.45, allocations: 80.59 MB / 3.487 GB, free: 79.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/8.45, allocations: 210.5 kB / 3.488 GB, free: 79.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.072/13.52, allocations: 9.5 kB / 3.488 GB, free: 79.35 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)