Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8049/0.8049, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 184.8 kB / 182.2 MB, free: 9.422 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008992/0.0008992, allocations: 95.72 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 282.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.227e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3973, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.195/4.593, allocations: 1.908 GB / 2.665 GB, free: 109.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/4.593, allocations: 91.77 kB / 2.665 GB, free: 109.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.782/7.375, allocations: 0.8011 GB / 3.466 GB, free: 102 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/7.375, allocations: 0 / 3.466 GB, free: 102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002243/7.375, allocations: 32 kB / 3.466 GB, free: 102 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.004635/7.38, allocations: 1.834 MB / 3.468 GB, free: 100.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/7.38, allocations: 12.03 kB / 3.468 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/7.383, allocations: 423.4 kB / 3.469 GB, free: 99.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/7.388, allocations: 1.797 MB / 3.47 GB, free: 97.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/7.388, allocations: 32 kB / 3.47 GB, free: 97.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/7.388, allocations: 60.34 kB / 3.47 GB, free: 97.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001727/7.39, allocations: 0.8005 MB / 3.471 GB, free: 96.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/7.391, allocations: 0.9635 MB / 3.472 GB, free: 95.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/7.391, allocations: 0 / 3.472 GB, free: 95.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/7.391, allocations: 4 kB / 3.472 GB, free: 95.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/7.392, allocations: 44.88 kB / 3.472 GB, free: 95.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.00795/7.399, allocations: 4.747 MB / 3.477 GB, free: 90.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/7.401, allocations: 0.8667 MB / 3.478 GB, free: 90.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/7.401, allocations: 371.6 kB / 3.478 GB, free: 89.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/7.402, allocations: 107.5 kB / 3.478 GB, free: 89.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/7.402, allocations: 423.9 kB / 3.478 GB, free: 89.18 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006881/7.403, allocations: 64.7 kB / 3.479 GB, free: 89.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.907e-06/7.403, allocations: 0 / 3.479 GB, free: 89.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001922/7.405, allocations: 0.8546 MB / 3.479 GB, free: 88.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/7.405, allocations: 111.6 kB / 3.479 GB, free: 88.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/7.406, allocations: 0.8789 MB / 3.48 GB, free: 87.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/7.406, allocations: 29.7 kB / 3.48 GB, free: 87.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/7.407, allocations: 0.6454 MB / 3.481 GB, free: 86.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/7.407, allocations: 240.3 kB / 3.481 GB, free: 86.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/7.407, allocations: 0 / 3.481 GB, free: 86.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/7.407, allocations: 342 kB / 3.482 GB, free: 85.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/7.407, allocations: 294.5 kB / 3.482 GB, free: 85.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/7.408, allocations: 0.5569 MB / 3.482 GB, free: 85.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/7.409, allocations: 399.3 kB / 3.483 GB, free: 84.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/7.409, allocations: 7.953 kB / 3.483 GB, free: 84.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00168/7.41, allocations: 1.009 MB / 3.484 GB, free: 83.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000412/7.411, allocations: 2.069 MB / 3.486 GB, free: 81.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/7.411, allocations: 4 kB / 3.486 GB, free: 81.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/7.411, allocations: 96.8 kB / 3.486 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/7.412, allocations: 211.1 kB / 3.486 GB, free: 81.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007538/7.413, allocations: 1.282 MB / 3.487 GB, free: 79.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/7.414, allocations: 83.08 kB / 3.487 GB, free: 79.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/7.415, allocations: 51.45 kB / 3.487 GB, free: 79.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/7.415, allocations: 5.562 kB / 3.487 GB, free: 79.68 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001779/7.416, allocations: 0.8243 MB / 3.488 GB, free: 78.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/7.416, allocations: 4 kB / 3.488 GB, free: 78.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/7.417, allocations: 108.8 kB / 3.488 GB, free: 78.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/7.418, allocations: 198.5 kB / 3.489 GB, free: 78.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/7.421, allocations: 2.603 MB / 3.491 GB, free: 75.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/7.423, allocations: 91.78 kB / 3.491 GB, free: 75.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/7.423, allocations: 39.98 kB / 3.491 GB, free: 75.66 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.0003838/7.424, allocations: 132.7 kB / 3.491 GB, free: 75.53 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001743/7.425, allocations: 0.7727 MB / 3.492 GB, free: 74.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/7.426, allocations: 126.4 kB / 3.492 GB, free: 74.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/7.428, allocations: 0.8493 MB / 3.493 GB, free: 73.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/7.428, allocations: 8 kB / 3.493 GB, free: 73.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/7.428, allocations: 0 / 3.493 GB, free: 73.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/7.429, allocations: 0.7691 MB / 3.494 GB, free: 72.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 postOpt removeSimpleEquations (simulation): time 0.003631/7.432, allocations: 2.081 MB / 3.496 GB, free: 70.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/7.432, allocations: 0 / 3.496 GB, free: 70.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/7.433, allocations: 163.9 kB / 3.496 GB, free: 70.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/7.433, allocations: 60.81 kB / 3.496 GB, free: 70.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/7.434, allocations: 12 kB / 3.496 GB, free: 70.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004707/7.434, allocations: 1.193 MB / 3.497 GB, free: 69.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/7.434, allocations: 3.938 kB / 3.497 GB, free: 69.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/7.436, allocations: 1.358 MB / 3.499 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/7.436, allocations: 275.3 kB / 3.499 GB, free: 67.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/7.437, allocations: 4 kB / 3.499 GB, free: 67.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/7.437, allocations: 91.94 kB / 3.499 GB, free: 67.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/7.438, allocations: 59.61 kB / 3.499 GB, free: 67.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/7.438, allocations: 31.98 kB / 3.499 GB, free: 67.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000851/7.438, allocations: 0.6687 MB / 3.5 GB, free: 66.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/7.439, allocations: 0 / 3.5 GB, free: 66.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002603/7.441, allocations: 0.951 MB / 3.501 GB, free: 65.84 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.005624/7.447, allocations: 4.912 MB / 3.505 GB, free: 61.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00261/7.449, allocations: 1.454 MB / 3.507 GB, free: 59.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/7.449, allocations: 0 / 3.507 GB, free: 59.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/7.45, allocations: 360.9 kB / 3.507 GB, free: 59.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/7.453, allocations: 0.5669 MB / 3.508 GB, free: 58.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/7.457, allocations: 2.376 MB / 3.51 GB, free: 56.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/7.458, allocations: 1.306 MB / 3.511 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001859/7.46, allocations: 465.2 kB / 3.512 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/7.46, allocations: 0.5266 MB / 3.512 GB, free: 53.95 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/7.46, allocations: 4 kB / 3.512 GB, free: 53.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0823/7.543, allocations: 55.12 MB / 3.566 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/7.543, allocations: 174.2 kB / 3.566 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/11.56, allocations: 0 / 3.566 GB, free: 15.05 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)