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.001856/0.001856, 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.7737/0.7737, 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.475/1.475, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0008908/0.0008908, allocations: 110.2 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.512e-05, allocations: 7.844 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1523, allocations: 82.3 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.367/4.519, allocations: 1.911 GB / 2.551 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/4.519, allocations: 87.95 kB / 2.552 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.943/8.462, allocations: 0.8105 GB / 3.362 GB, free: 98.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/8.462, allocations: 3.312 kB / 3.362 GB, free: 98.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004189/8.463, allocations: 39.97 kB / 3.362 GB, free: 98.06 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.008107/8.471, allocations: 1.834 MB / 3.364 GB, free: 97.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/8.471, allocations: 11.55 kB / 3.364 GB, free: 97.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008072/8.472, allocations: 147 kB / 3.364 GB, free: 97.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/8.476, allocations: 424.8 kB / 3.364 GB, free: 97.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007459/8.483, allocations: 1.82 MB / 3.366 GB, free: 97.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/8.484, allocations: 79.03 kB / 3.366 GB, free: 97.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000574/8.484, allocations: 108 kB / 3.366 GB, free: 97.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/8.488, allocations: 1.099 MB / 3.367 GB, free: 96.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/8.488, allocations: 0.875 kB / 3.367 GB, free: 96.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/8.488, allocations: 41.81 kB / 3.367 GB, free: 96.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/8.488, allocations: 40.8 kB / 3.367 GB, free: 96.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/8.491, allocations: 0.8208 MB / 3.368 GB, free: 96.95 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.009486/8.5, allocations: 4.936 MB / 3.373 GB, free: 94.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/8.502, allocations: 0.8409 MB / 3.374 GB, free: 94.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/8.503, allocations: 362.6 kB / 3.374 GB, free: 94.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/8.503, allocations: 107.5 kB / 3.374 GB, free: 94.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007882/8.504, allocations: 442.7 kB / 3.375 GB, free: 94.47 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/8.505, allocations: 93.59 kB / 3.375 GB, free: 94.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.737e-06/8.505, allocations: 0 / 3.375 GB, free: 94.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001805/8.506, allocations: 0.7938 MB / 3.376 GB, free: 94.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/8.507, allocations: 113.3 kB / 3.376 GB, free: 94.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/8.508, allocations: 1.003 MB / 3.377 GB, free: 94.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/8.508, allocations: 46.58 kB / 3.377 GB, free: 94.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000722/8.509, allocations: 0.6522 MB / 3.377 GB, free: 93.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/8.509, allocations: 248.6 kB / 3.378 GB, free: 93.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/8.509, allocations: 19.31 kB / 3.378 GB, free: 93.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/8.509, allocations: 337.8 kB / 3.378 GB, free: 93.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/8.51, allocations: 288.9 kB / 3.378 GB, free: 93.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/8.511, allocations: 0.543 MB / 3.379 GB, free: 93.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/8.511, allocations: 397.4 kB / 3.379 GB, free: 93.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/8.511, allocations: 1.531 kB / 3.379 GB, free: 93.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002138/8.514, allocations: 1.022 MB / 3.38 GB, free: 92.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005683/8.514, allocations: 2.074 MB / 3.382 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/8.514, allocations: 6.156 kB / 3.382 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/8.515, allocations: 76.3 kB / 3.382 GB, free: 90.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/8.516, allocations: 209.5 kB / 3.382 GB, free: 90.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000747/8.516, allocations: 1.201 MB / 3.384 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/8.518, allocations: 105.1 kB / 3.384 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/8.518, allocations: 50.12 kB / 3.384 GB, free: 89.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/8.518, allocations: 3.281 kB / 3.384 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/8.52, allocations: 0.9224 MB / 3.385 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/8.52, allocations: 4.094 kB / 3.385 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/8.521, allocations: 111.5 kB / 3.385 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/8.522, allocations: 195.8 kB / 3.385 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/8.526, allocations: 2.68 MB / 3.388 GB, free: 87.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/8.528, allocations: 94.62 kB / 3.388 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/8.528, allocations: 46.19 kB / 3.388 GB, free: 87.88 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.0004004/8.529, allocations: 164.2 kB / 3.388 GB, free: 87.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/8.529, allocations: 138.8 kB / 3.388 GB, free: 87.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/8.531, allocations: 0.899 MB / 3.389 GB, free: 87.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/8.531, allocations: 7.219 kB / 3.389 GB, free: 87.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/8.531, allocations: 0 / 3.389 GB, free: 87.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/8.533, allocations: 0.7899 MB / 3.39 GB, free: 87.43 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.004916/8.538, allocations: 2.237 MB / 3.392 GB, free: 86.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/8.538, allocations: 2.375 kB / 3.392 GB, free: 86.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/8.539, allocations: 174.3 kB / 3.392 GB, free: 86.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/8.539, allocations: 78.53 kB / 3.392 GB, free: 86.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/8.539, allocations: 22.88 kB / 3.392 GB, free: 86.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005797/8.54, allocations: 1.188 MB / 3.393 GB, free: 85.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/8.54, allocations: 5.688 kB / 3.393 GB, free: 85.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/8.542, allocations: 1.391 MB / 3.395 GB, free: 85.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/8.543, allocations: 283.3 kB / 3.395 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/8.543, allocations: 23.8 kB / 3.395 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/8.544, allocations: 105.3 kB / 3.395 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/8.544, allocations: 50.92 kB / 3.395 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/8.544, allocations: 33.19 kB / 3.395 GB, free: 85.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001287/8.546, allocations: 0.782 MB / 3.396 GB, free: 85.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/8.546, allocations: 0 / 3.396 GB, free: 85.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004304/8.55, allocations: 1.048 MB / 3.397 GB, free: 85.14 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.00806/8.558, allocations: 4.799 MB / 3.402 GB, free: 83.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003548/8.562, allocations: 1.507 MB / 3.403 GB, free: 82.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/8.562, allocations: 0 / 3.403 GB, free: 82.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/8.562, allocations: 370.2 kB / 3.403 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.003703/8.566, allocations: 0.6349 MB / 3.404 GB, free: 82.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/8.572, allocations: 2.455 MB / 3.406 GB, free: 82.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/8.573, allocations: 1.315 MB / 3.408 GB, free: 81.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002066/8.575, allocations: 491.6 kB / 3.408 GB, free: 81.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/8.575, allocations: 0.5337 MB / 3.409 GB, free: 81.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/8.576, allocations: 0 / 3.409 GB, free: 81.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/8.725, allocations: 80.61 MB / 3.487 GB, free: 78.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/8.725, allocations: 204.9 kB / 3.488 GB, free: 78.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.077/13.8, allocations: 3.938 kB / 3.488 GB, free: 78.73 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)