Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009017/0.009018, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008885/0.0008885, allocations: 18.92 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2966, allocations: 116.3 MB / 0.7879 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8055/1.102, allocations: 200.8 MB / 0.984 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02841/1.131, allocations: 16.49 MB / 1 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/1.134, allocations: 53.41 kB / 1 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/1.137, allocations: 0.8406 MB / 1.001 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007731/1.145, allocations: 2.293 MB / 1.003 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008199/1.153, allocations: 2.441 MB / 1.006 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007834/1.161, allocations: 4.828 MB / 1.01 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/1.164, allocations: 1.158 MB / 1.011 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/1.169, allocations: 1.728 MB / 1.013 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/1.172, allocations: 1.114 MB / 1.014 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000344/1.172, allocations: 60.5 kB / 1.014 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006739/1.179, allocations: 2.692 MB / 1.017 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008158/1.18, allocations: 0.498 MB / 1.017 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/1.181, allocations: 0.8085 MB / 1.018 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007237/1.189, allocations: 3.378 MB / 1.021 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.189, allocations: 0 / 1.021 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.455e-06/1.189, allocations: 2.625 kB / 1.021 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.224e-05/1.189, allocations: 0 / 1.021 GB, free: 12.89 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004013/1.193, allocations: 1.934 MB / 1.023 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.193, allocations: 10.84 kB / 1.023 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/1.195, allocations: 448.8 kB / 1.024 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/1.198, allocations: 1.329 MB / 1.025 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/1.198, allocations: 86.17 kB / 1.025 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/1.198, allocations: 117.6 kB / 1.025 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/1.2, allocations: 1.183 MB / 1.026 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.2, allocations: 0 / 1.026 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.201, allocations: 44.66 kB / 1.026 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/1.201, allocations: 34.75 kB / 1.026 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/1.202, allocations: 0.9002 MB / 1.027 GB, free: 8.961 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006647/1.209, allocations: 4.879 MB / 1.032 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.211, allocations: 0.7935 MB / 1.033 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/1.212, allocations: 427.7 kB / 1.033 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/1.212, allocations: 108.5 kB / 1.033 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008796/1.213, allocations: 472.6 kB / 1.034 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004385/1.213, allocations: 93.36 kB / 1.034 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 3.085e-06/1.213, allocations: 0 / 1.034 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69): time 0.002944/1.216, allocations: 1.249 MB / 1.035 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/1.216, allocations: 138.1 kB / 1.035 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/1.218, allocations: 1.182 MB / 1.036 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/1.218, allocations: 45.8 kB / 1.037 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005543/1.218, allocations: 0.6685 MB / 1.037 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/1.219, allocations: 241.5 kB / 1.037 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.219, allocations: 80.27 kB / 1.037 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.219, allocations: 344.8 kB / 1.038 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/1.22, allocations: 397.6 kB / 1.038 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009228/1.221, allocations: 0.6441 MB / 1.039 GB, free: 388 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/1.222, allocations: 1.031 MB / 1.04 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.222, allocations: 1.781 kB / 1.04 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002325/1.225, allocations: 1.276 MB / 1.041 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/1.225, allocations: 275.8 kB / 1.041 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.225, allocations: 8 kB / 1.041 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/1.225, allocations: 124.7 kB / 1.041 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/1.226, allocations: 203.8 kB / 1.042 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009258/1.227, allocations: 1.22 MB / 1.043 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.228, allocations: 87.91 kB / 1.043 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/1.229, allocations: 43.98 kB / 1.043 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.229, allocations: 4 kB / 1.043 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/1.231, allocations: 1.082 MB / 1.044 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.231, allocations: 11.98 kB / 1.044 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/1.231, allocations: 149.2 kB / 1.044 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.232, allocations: 179.7 kB / 1.044 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/1.236, allocations: 2.791 MB / 1.047 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.238, allocations: 95.83 kB / 1.047 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/1.238, allocations: 40 kB / 1.047 GB, free: 7.852 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0009176/1.239, allocations: 468.8 kB / 1.048 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/1.239, allocations: 138.2 kB / 1.048 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/1.241, allocations: 0.941 MB / 1.049 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.241, allocations: 8 kB / 1.049 GB, free: 6.273 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.241, allocations: 3.984 kB / 1.049 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/1.242, allocations: 0.8428 MB / 1.05 GB, free: 5.395 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004106/1.247, allocations: 2.253 MB / 1.052 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.247, allocations: 0 / 1.052 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/1.247, allocations: 159.8 kB / 1.052 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/1.248, allocations: 79.98 kB / 1.052 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/1.248, allocations: 27.98 kB / 1.052 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006416/1.248, allocations: 1.193 MB / 1.053 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.248, allocations: 4.031 kB / 1.053 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/1.251, allocations: 1.426 MB / 1.055 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/1.251, allocations: 276.1 kB / 1.055 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.252, allocations: 12 kB / 1.055 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/1.252, allocations: 95.81 kB / 1.055 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.253, allocations: 52.38 kB / 1.055 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/1.253, allocations: 23.98 kB / 1.055 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00106/1.254, allocations: 0.8115 MB / 1.056 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.254, allocations: 0 / 1.056 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002241/1.256, allocations: 0.8302 MB / 1.057 GB, free: 13.98 MB / 0.7794 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.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/1.257, allocations: 438.5 kB / 1.057 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003321/1.26, allocations: 1.723 MB / 1.059 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.26, allocations: 3.938 kB / 1.059 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/1.261, allocations: 407 kB / 1.059 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.264, allocations: 0.6647 MB / 1.06 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/1.269, allocations: 3.186 MB / 1.063 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009164/1.27, allocations: 1.289 MB / 1.064 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00134/1.271, allocations: 335.4 kB / 1.064 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/1.271, allocations: 99.42 kB / 1.065 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of SimCode: time 8.42e-07/1.271, allocations: 0 / 1.065 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.0492/1.32, allocations: 29.3 MB / 1.093 GB, free: 8.852 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: