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.6871/0.6871, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 182.7 kB / 187.3 MB, free: 11.88 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.216/1.216, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0007999/0.0007999, allocations: 87.61 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 276.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.858e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.483/3.827, allocations: 1.908 GB / 2.673 GB, free: 97.78 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/3.827, allocations: 91.28 kB / 2.673 GB, free: 97.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.307/6.134, allocations: 0.8101 GB / 3.483 GB, free: 74.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.81e-07/6.134, allocations: 0 / 3.483 GB, free: 74.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001215/6.134, allocations: 39.98 kB / 3.483 GB, free: 74.5 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.002912/6.137, allocations: 1.828 MB / 3.485 GB, free: 72.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/6.137, allocations: 12.03 kB / 3.485 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/6.137, allocations: 150.4 kB / 3.485 GB, free: 72.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/6.139, allocations: 421.5 kB / 3.485 GB, free: 72.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/6.142, allocations: 1.798 MB / 3.487 GB, free: 70.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/6.142, allocations: 85.27 kB / 3.487 GB, free: 70.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/6.142, allocations: 108 kB / 3.487 GB, free: 70 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/6.143, allocations: 1.093 MB / 3.488 GB, free: 68.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/6.144, allocations: 7.984 kB / 3.488 GB, free: 68.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/6.144, allocations: 40 kB / 3.488 GB, free: 68.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/6.144, allocations: 38 kB / 3.488 GB, free: 68.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/6.145, allocations: 0.8161 MB / 3.489 GB, free: 67.96 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.004527/6.149, allocations: 4.94 MB / 3.494 GB, free: 62.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/6.151, allocations: 0.8493 MB / 3.495 GB, free: 61.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/6.151, allocations: 355.6 kB / 3.495 GB, free: 61.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/6.151, allocations: 114.8 kB / 3.495 GB, free: 61.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/6.152, allocations: 434 kB / 3.496 GB, free: 60.91 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003335/6.152, allocations: 95.33 kB / 3.496 GB, free: 60.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.104e-06/6.152, allocations: 0 / 3.496 GB, free: 60.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001245/6.153, allocations: 0.7845 MB / 3.496 GB, free: 60.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/6.153, allocations: 127.5 kB / 3.497 GB, free: 59.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/6.154, allocations: 0.9948 MB / 3.498 GB, free: 58.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/6.154, allocations: 45.7 kB / 3.498 GB, free: 58.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/6.155, allocations: 0.6419 MB / 3.498 GB, free: 58.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/6.155, allocations: 252.3 kB / 3.498 GB, free: 57.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/6.155, allocations: 16 kB / 3.499 GB, free: 57.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/6.155, allocations: 344.5 kB / 3.499 GB, free: 57.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/6.155, allocations: 281.9 kB / 3.499 GB, free: 57.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/6.156, allocations: 0.5492 MB / 3.5 GB, free: 56.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/6.156, allocations: 390 kB / 3.5 GB, free: 56.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/6.156, allocations: 8 kB / 3.5 GB, free: 56.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001248/6.157, allocations: 1.021 MB / 3.501 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/6.158, allocations: 2.065 MB / 3.503 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/6.158, allocations: 4 kB / 3.503 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/6.158, allocations: 80.77 kB / 3.503 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/6.159, allocations: 207.7 kB / 3.503 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004699/6.159, allocations: 1.209 MB / 3.504 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/6.16, allocations: 99.92 kB / 3.505 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/6.16, allocations: 55.97 kB / 3.505 GB, free: 51.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/6.16, allocations: 7.953 kB / 3.505 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/6.162, allocations: 0.9188 MB / 3.506 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/6.162, allocations: 7.938 kB / 3.506 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003647/6.162, allocations: 109 kB / 3.506 GB, free: 50.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/6.163, allocations: 191.7 kB / 3.506 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/6.166, allocations: 2.681 MB / 3.508 GB, free: 47.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/6.167, allocations: 95.98 kB / 3.509 GB, free: 47.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/6.167, allocations: 47.98 kB / 3.509 GB, free: 47.02 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.0001466/6.167, allocations: 156 kB / 3.509 GB, free: 46.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/6.167, allocations: 142.3 kB / 3.509 GB, free: 46.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/6.168, allocations: 0.9044 MB / 3.51 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/6.168, allocations: 8 kB / 3.51 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/6.168, allocations: 3.953 kB / 3.51 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009709/6.169, allocations: 0.7886 MB / 3.511 GB, free: 44.97 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.002646/6.172, allocations: 2.235 MB / 3.513 GB, free: 42.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/6.172, allocations: 4 kB / 3.513 GB, free: 42.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/6.173, allocations: 167.9 kB / 3.513 GB, free: 42.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/6.173, allocations: 80.73 kB / 3.513 GB, free: 42.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/6.173, allocations: 23.98 kB / 3.513 GB, free: 42.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003692/6.173, allocations: 1.197 MB / 3.514 GB, free: 41.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/6.173, allocations: 4.062 kB / 3.514 GB, free: 41.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/6.175, allocations: 1.388 MB / 3.516 GB, free: 39.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/6.175, allocations: 283.4 kB / 3.516 GB, free: 39.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/6.175, allocations: 16 kB / 3.516 GB, free: 39.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/6.176, allocations: 103.8 kB / 3.516 GB, free: 39.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/6.176, allocations: 56.44 kB / 3.516 GB, free: 39.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/6.176, allocations: 31.98 kB / 3.516 GB, free: 39.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007195/6.177, allocations: 0.7738 MB / 3.517 GB, free: 38.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.177, allocations: 0 / 3.517 GB, free: 38.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002159/6.179, allocations: 1.052 MB / 3.518 GB, free: 37.34 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.004316/6.184, allocations: 4.815 MB / 3.522 GB, free: 32.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001829/6.185, allocations: 1.502 MB / 3.524 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/6.185, allocations: 4.125 kB / 3.524 GB, free: 30.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005119/6.186, allocations: 377.8 kB / 3.524 GB, free: 30.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/6.188, allocations: 0.6288 MB / 3.525 GB, free: 29.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/6.191, allocations: 2.446 MB / 3.527 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/6.192, allocations: 1.31 MB / 3.529 GB, free: 25.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001512/6.193, allocations: 486.9 kB / 3.529 GB, free: 25.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/6.194, allocations: 0.5305 MB / 3.53 GB, free: 24.91 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/6.194, allocations: 7.938 kB / 3.53 GB, free: 24.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4213/6.615, allocations: 80.57 MB / 3.608 GB, free: 96.74 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/6.615, allocations: 225.1 kB / 3.608 GB, free: 96.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/10.82, allocations: 0 / 3.608 GB, free: 96.52 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)