Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 114.1 kB / 16.37 MB, free: 6.012 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.001493/0.001493, allocations: 192 kB / 17.31 MB, free: 5.613 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.5/1.5, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.00148/0.00148, allocations: 68.45 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2843, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002977/0.2873, allocations: 1.43 MB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.2881, allocations: 439.9 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.2881, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.2882, allocations: 4 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.2882, allocations: 7.875 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2884, allocations: 7.984 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.2885, allocations: 19.94 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2886, allocations: 15.91 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.2887, allocations: 8 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.2887, allocations: 15.92 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2888, allocations: 4 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.2888, allocations: 0 / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.2888, allocations: 4 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.2888, allocations: 15.88 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.828e-05/0.2889, allocations: 27.89 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2889, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2889, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2889, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004171/0.2894, allocations: 339.4 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2894, allocations: 15.97 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2894, allocations: 0.9375 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2896, allocations: 172.3 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2896, allocations: 384 / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2896, allocations: 4.312 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2897, allocations: 46 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2897, allocations: 0 / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.2897, allocations: 0 / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2898, allocations: 3.984 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.2898, allocations: 23.97 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.2902, allocations: 248.9 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.2903, allocations: 34.5 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.2903, allocations: 16.92 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.2903, allocations: 4 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2904, allocations: 30.56 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2904, allocations: 4 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002194/0.2906, allocations: 61.67 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4265/0.7171, allocations: 51.41 kB / 0.7877 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.7172, allocations: 99.02 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7173, allocations: 25.7 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.7173, allocations: 87.5 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.7173, allocations: 12.75 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.7174, allocations: 13.36 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.7174, allocations: 316.2 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.7175, allocations: 11.66 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.7175, allocations: 12.81 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.003e-05/0.7176, allocations: 29.3 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7176, allocations: 0 / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.7177, allocations: 50.55 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.7178, allocations: 6.031 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7178, allocations: 5.578 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7178, allocations: 2.625 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.7179, allocations: 4.281 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7179, allocations: 0.5 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.7179, allocations: 5.812 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.718, allocations: 1 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.718, allocations: 116.8 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.718, allocations: 5.219 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.7181, allocations: 7.469 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7181, allocations: 1.5 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7181, allocations: 0 / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.7181, allocations: 5.859 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.7182, allocations: 154.8 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7182, allocations: 0.75 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.7183, allocations: 6.328 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7183, allocations: 2.719 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.7183, allocations: 6.562 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7183, allocations: 0 / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7183, allocations: 0 / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.7184, allocations: 152.4 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.7185, allocations: 82.98 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.7185, allocations: 3.938 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.7186, allocations: 5.812 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.7186, allocations: 3.25 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.7186, allocations: 0 / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.7186, allocations: 88.69 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7187, allocations: 0 / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00022/0.7189, allocations: 7.938 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.298e-05/0.719, allocations: 97.59 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.7191, allocations: 23.66 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7191, allocations: 0.875 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.7192, allocations: 12.05 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.7194, allocations: 3.562 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.7197, allocations: 142.6 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.706e-05/0.7198, allocations: 0.6773 MB / 0.79 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.7198, allocations: 13.22 kB / 0.79 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7198, allocations: 0 / 0.79 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.001611/0.7214, allocations: 0.5072 MB / 0.7905 GB, free: 46.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)