Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001116/0.001116, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.945/1.945, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.002601/0.002601, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3133, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003819/0.3172, allocations: 1.224 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.3176, allocations: 55.8 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.3177, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.3178, allocations: 3.938 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.318, allocations: 4 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.3182, allocations: 7.984 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3183, allocations: 19.92 kB / 0.7861 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.3184, allocations: 11.98 kB / 0.7861 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.3185, allocations: 11.94 kB / 0.7861 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.3186, allocations: 4.75 kB / 0.7861 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.3186, allocations: 0 / 0.7861 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.3187, allocations: 7.938 kB / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3188, allocations: 52.42 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.636e-05/0.3189, allocations: 39.69 kB / 0.7862 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3191, allocations: 79.58 kB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3191, allocations: 4 kB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3191, allocations: 0 / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3191, allocations: 0 / 0.7863 GB, free: 1.652 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006218/0.3198, allocations: 426.8 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.3198, allocations: 8.031 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.3199, allocations: 88.03 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3202, allocations: 272 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.3203, allocations: 158.7 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.983e-05/0.3204, allocations: 150.6 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.3205, allocations: 105 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.3205, allocations: 79.28 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.3206, allocations: 150.6 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6065/0.9271, allocations: 158.5 kB / 0.7878 GB, free: 49.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.865e-05/0.9273, allocations: 151.4 kB / 0.7879 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.9276, allocations: 489.9 kB / 0.7884 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.9277, allocations: 172.2 kB / 0.7886 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.9277, allocations: 82.14 kB / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.9277, allocations: 76.78 kB / 0.7887 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.9278, allocations: 106.8 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.9278, allocations: 0.8125 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.9279, allocations: 42.88 kB / 0.7889 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.9279, allocations: 128.2 kB / 0.789 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.9282, allocations: 229.7 kB / 0.7892 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.9282, allocations: 28.92 kB / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.9283, allocations: 107.9 kB / 0.7893 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.9283, allocations: 0 / 0.7893 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.9283, allocations: 36.95 kB / 0.7894 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.9284, allocations: 332.8 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.9285, allocations: 57.05 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.9286, allocations: 54.86 kB / 0.7898 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.9287, allocations: 144.3 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9287, allocations: 0 / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002699/0.929, allocations: 176.4 kB / 0.7901 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.929, allocations: 9.969 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.929, allocations: 5.719 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9291, allocations: 3.422 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.9291, allocations: 2.625 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.9291, allocations: 0 / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.9291, allocations: 11.17 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.9292, allocations: 7.469 kB / 0.7901 GB, free: 47.66 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.509e-05/0.9293, allocations: 200.9 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.9293, allocations: 118 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.9294, allocations: 119.3 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/0.9294, allocations: 179.9 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/0.9295, allocations: 181 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/0.9295, allocations: 183 kB / 0.7911 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.9297, allocations: 439.3 kB / 0.7915 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.9297, allocations: 105 kB / 0.7916 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.9298, allocations: 109.8 kB / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/0.9298, allocations: 186.6 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.9298, allocations: 179.8 kB / 0.792 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.192e-05/0.9299, allocations: 182.2 kB / 0.7922 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-05/0.9299, allocations: 182.2 kB / 0.7924 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/0.93, allocations: 317.1 kB / 0.7927 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.9301, allocations: 196.5 kB / 0.7929 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.9301, allocations: 182.6 kB / 0.793 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.9302, allocations: 103.6 kB / 0.7931 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.9302, allocations: 179.4 kB / 0.7933 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.9303, allocations: 109.6 kB / 0.7934 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001056/0.9304, allocations: 160.7 kB / 0.7936 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9304, allocations: 0 / 0.7936 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002436/0.9306, allocations: 21.91 kB / 0.7936 GB, free: 44.16 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 (0): * Single equations (assignments): 0 * 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 0.0001689/0.9308, allocations: 180.3 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.931, allocations: 76.98 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.931, allocations: 3 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.931, allocations: 0 / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.9313, allocations: 458.7 kB / 0.7943 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.9317, allocations: 331 kB / 0.7946 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.9319, allocations: 0.7094 MB / 0.7953 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.9319, allocations: 10.34 kB / 0.7953 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.9319, allocations: 0 / 0.7953 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.002691/0.9346, allocations: 1.121 MB / 0.7964 GB, free: 42.53 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)