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.001159/0.001159, allocations: 180.9 kB / 7.65 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.7554/0.7554, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.459/1.459, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008861/0.000886, allocations: 102 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.486e-05, allocations: 0 / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4642, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.388/4.852, allocations: 1.91 GB / 2.544 GB, free: 126 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/4.853, allocations: 88.47 kB / 2.544 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.179/8.032, allocations: 0.8014 GB / 3.346 GB, free: 89.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.864e-06/8.032, allocations: 4 kB / 3.346 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001966/8.032, allocations: 38.81 kB / 3.346 GB, free: 89.59 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.005621/8.038, allocations: 1.829 MB / 3.348 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/8.038, allocations: 14.81 kB / 3.348 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/8.041, allocations: 423.7 kB / 3.348 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/8.046, allocations: 1.82 MB / 3.35 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/8.046, allocations: 28 kB / 3.35 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/8.046, allocations: 64 kB / 3.35 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/8.048, allocations: 0.8068 MB / 3.351 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/8.049, allocations: 0.9663 MB / 3.352 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/8.049, allocations: 0 / 3.352 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/8.049, allocations: 0 / 3.352 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/8.049, allocations: 38 kB / 3.352 GB, free: 83.55 MB / 0.6823 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.007179/8.056, allocations: 4.756 MB / 3.356 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/8.058, allocations: 0.8717 MB / 3.357 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/8.059, allocations: 369.7 kB / 3.357 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/8.059, allocations: 111.1 kB / 3.358 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005736/8.059, allocations: 412.5 kB / 3.358 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007187/8.06, allocations: 62.17 kB / 3.358 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.228e-06/8.06, allocations: 0 / 3.358 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001921/8.062, allocations: 0.8503 MB / 3.359 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/8.062, allocations: 115.6 kB / 3.359 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/8.063, allocations: 0.8781 MB / 3.36 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/8.063, allocations: 25.7 kB / 3.36 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/8.064, allocations: 0.6592 MB / 3.36 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/8.064, allocations: 240.4 kB / 3.361 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/8.064, allocations: 0 / 3.361 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/8.064, allocations: 341.9 kB / 3.361 GB, free: 73.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/8.065, allocations: 302.5 kB / 3.361 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/8.065, allocations: 0.5492 MB / 3.362 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009402/8.066, allocations: 398.7 kB / 3.362 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/8.066, allocations: 7.984 kB / 3.362 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002075/8.068, allocations: 1.007 MB / 3.363 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007282/8.069, allocations: 2.069 MB / 3.365 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/8.069, allocations: 4 kB / 3.365 GB, free: 69.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/8.069, allocations: 100.8 kB / 3.365 GB, free: 68.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/8.07, allocations: 211.7 kB / 3.366 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007718/8.071, allocations: 1.275 MB / 3.367 GB, free: 67.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/8.073, allocations: 87.92 kB / 3.367 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/8.073, allocations: 50.39 kB / 3.367 GB, free: 67.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/8.073, allocations: 4.781 kB / 3.367 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/8.074, allocations: 0.8275 MB / 3.368 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/8.074, allocations: 12.09 kB / 3.368 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/8.075, allocations: 104.8 kB / 3.368 GB, free: 66.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/8.075, allocations: 187.7 kB / 3.368 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/8.079, allocations: 2.598 MB / 3.371 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/8.081, allocations: 83.83 kB / 3.371 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/8.081, allocations: 43.98 kB / 3.371 GB, free: 63.22 MB / 0.6823 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.0003311/8.081, allocations: 132.7 kB / 3.371 GB, free: 63.08 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001459/8.083, allocations: 0.7728 MB / 3.372 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/8.083, allocations: 126.4 kB / 3.372 GB, free: 62.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/8.085, allocations: 0.8605 MB / 3.373 GB, free: 61.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/8.085, allocations: 8 kB / 3.373 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/8.085, allocations: 0 / 3.373 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/8.086, allocations: 0.7614 MB / 3.373 GB, free: 60.5 MB / 0.6823 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.003447/8.089, allocations: 2.079 MB / 3.375 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/8.089, allocations: 0 / 3.375 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/8.09, allocations: 179.3 kB / 3.375 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/8.09, allocations: 56.83 kB / 3.376 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/8.09, allocations: 15.98 kB / 3.376 GB, free: 58.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004968/8.091, allocations: 1.191 MB / 3.377 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/8.091, allocations: 3.953 kB / 3.377 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/8.092, allocations: 1.351 MB / 3.378 GB, free: 55.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/8.093, allocations: 279.4 kB / 3.378 GB, free: 55.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/8.093, allocations: 4 kB / 3.378 GB, free: 55.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/8.094, allocations: 95.64 kB / 3.378 GB, free: 55.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/8.094, allocations: 52.48 kB / 3.378 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/8.094, allocations: 27.98 kB / 3.378 GB, free: 55.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008341/8.095, allocations: 0.6691 MB / 3.379 GB, free: 54.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/8.095, allocations: 4 kB / 3.379 GB, free: 54.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002826/8.098, allocations: 0.954 MB / 3.38 GB, free: 53.39 MB / 0.6823 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.006165/8.104, allocations: 4.908 MB / 3.385 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002625/8.107, allocations: 1.454 MB / 3.386 GB, free: 47.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/8.107, allocations: 256 / 3.386 GB, free: 47.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/8.107, allocations: 357.9 kB / 3.387 GB, free: 46.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/8.11, allocations: 0.5651 MB / 3.387 GB, free: 46.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/8.115, allocations: 2.376 MB / 3.39 GB, free: 43.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/8.116, allocations: 1.31 MB / 3.391 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001941/8.118, allocations: 465.1 kB / 3.391 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/8.119, allocations: 0.5305 MB / 3.392 GB, free: 41.49 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/8.119, allocations: 4 kB / 3.392 GB, free: 41.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/8.222, allocations: 55.15 MB / 3.446 GB, free: 2.641 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/8.222, allocations: 141.6 kB / 3.446 GB, free: 2.453 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/12.37, allocations: 0 / 3.446 GB, free: 2.453 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)