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.001077/0.001077, allocations: 173.8 kB / 7.647 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.7536/0.7536, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.513/1.513, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008603/0.0008603, allocations: 100.6 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.834e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4108, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.51/4.921, allocations: 1.91 GB / 2.544 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/4.921, allocations: 99.3 kB / 2.544 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.277/8.199, allocations: 0.8014 GB / 3.346 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/8.199, allocations: 2.438 kB / 3.346 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001924/8.199, allocations: 38.73 kB / 3.346 GB, free: 90.26 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.005793/8.205, allocations: 1.845 MB / 3.348 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/8.205, allocations: 8.031 kB / 3.348 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/8.209, allocations: 418.7 kB / 3.348 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/8.215, allocations: 1.815 MB / 3.35 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/8.215, allocations: 28 kB / 3.35 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/8.215, allocations: 67.98 kB / 3.35 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001533/8.216, allocations: 0.7994 MB / 3.351 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/8.218, allocations: 0.9698 MB / 3.352 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/8.218, allocations: 0 / 3.352 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/8.218, allocations: 4 kB / 3.352 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/8.218, allocations: 37.94 kB / 3.352 GB, free: 84.21 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.006849/8.225, allocations: 4.742 MB / 3.356 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/8.226, allocations: 0.877 MB / 3.357 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/8.227, allocations: 373.7 kB / 3.357 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/8.227, allocations: 105.6 kB / 3.358 GB, free: 77.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/8.228, allocations: 415.8 kB / 3.358 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000795/8.229, allocations: 59.12 kB / 3.358 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 6.201e-06/8.229, allocations: 0 / 3.358 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002043/8.231, allocations: 0.8546 MB / 3.359 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/8.231, allocations: 115.3 kB / 3.359 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/8.232, allocations: 0.8774 MB / 3.36 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/8.232, allocations: 25.7 kB / 3.36 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/8.233, allocations: 0.6571 MB / 3.36 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/8.233, allocations: 240.4 kB / 3.361 GB, free: 74.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/8.233, allocations: 0 / 3.361 GB, free: 74.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001428/8.233, allocations: 346.6 kB / 3.361 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/8.234, allocations: 302 kB / 3.361 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/8.235, allocations: 0.552 MB / 3.362 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/8.236, allocations: 391.6 kB / 3.362 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/8.236, allocations: 4 kB / 3.362 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002086/8.238, allocations: 1.017 MB / 3.363 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009244/8.239, allocations: 2.063 MB / 3.365 GB, free: 69.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/8.239, allocations: 4 kB / 3.365 GB, free: 69.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/8.239, allocations: 100.8 kB / 3.365 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/8.24, allocations: 210.7 kB / 3.366 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/8.241, allocations: 1.285 MB / 3.367 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/8.243, allocations: 80.83 kB / 3.367 GB, free: 68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/8.243, allocations: 51.97 kB / 3.367 GB, free: 67.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/8.243, allocations: 4 kB / 3.367 GB, free: 67.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/8.245, allocations: 0.8301 MB / 3.368 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/8.245, allocations: 4 kB / 3.368 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/8.245, allocations: 98.31 kB / 3.368 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/8.246, allocations: 203.7 kB / 3.368 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/8.25, allocations: 2.6 MB / 3.371 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/8.251, allocations: 79.84 kB / 3.371 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/8.252, allocations: 47.98 kB / 3.371 GB, free: 63.91 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.0003137/8.252, allocations: 120.8 kB / 3.371 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00142/8.253, allocations: 0.7767 MB / 3.372 GB, free: 62.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/8.253, allocations: 130.4 kB / 3.372 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/8.255, allocations: 0.8563 MB / 3.373 GB, free: 62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/8.255, allocations: 8 kB / 3.373 GB, free: 62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/8.255, allocations: 0 / 3.373 GB, free: 62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/8.256, allocations: 0.7614 MB / 3.373 GB, free: 61.2 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.004393/8.261, allocations: 2.076 MB / 3.375 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/8.261, allocations: 4.031 kB / 3.375 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/8.262, allocations: 167.7 kB / 3.375 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/8.262, allocations: 56.83 kB / 3.376 GB, free: 58.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/8.262, allocations: 15.98 kB / 3.376 GB, free: 58.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007891/8.263, allocations: 1.2 MB / 3.377 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/8.263, allocations: 3.953 kB / 3.377 GB, free: 57.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/8.265, allocations: 1.359 MB / 3.378 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/8.266, allocations: 275.4 kB / 3.378 GB, free: 55.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/8.266, allocations: 11.5 kB / 3.378 GB, free: 55.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/8.267, allocations: 87.81 kB / 3.378 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/8.267, allocations: 48.48 kB / 3.378 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/8.267, allocations: 31.98 kB / 3.378 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009615/8.268, allocations: 0.6652 MB / 3.379 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/8.268, allocations: 0 / 3.379 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003378/8.271, allocations: 0.9627 MB / 3.38 GB, free: 54.08 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.00611/8.277, allocations: 4.9 MB / 3.385 GB, free: 49.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002533/8.28, allocations: 1.457 MB / 3.386 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/8.28, allocations: 0 / 3.386 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/8.28, allocations: 353.9 kB / 3.387 GB, free: 47.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/8.284, allocations: 0.5663 MB / 3.387 GB, free: 46.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/8.289, allocations: 2.38 MB / 3.39 GB, free: 44.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/8.289, allocations: 1.31 MB / 3.391 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001929/8.291, allocations: 465.2 kB / 3.391 GB, free: 42.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/8.292, allocations: 0.5344 MB / 3.392 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of SimCode: time 2.645e-06/8.292, allocations: 0 / 3.392 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/8.395, allocations: 55.16 MB / 3.446 GB, free: 3.348 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/8.395, allocations: 150.5 kB / 3.446 GB, free: 3.156 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.476/12.87, allocations: 0 / 3.446 GB, free: 3.156 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)