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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 189.8 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 96.44 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 51.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4088, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003625/0.4124, allocations: 1.284 MB / 0.9835 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.4129, allocations: 55.77 kB / 0.9835 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.4129, allocations: 0 / 0.9835 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.413, allocations: 3.938 kB / 0.9835 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.4132, allocations: 7.984 kB / 0.9835 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.4134, allocations: 11.98 kB / 0.9835 GB, free: 9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4136, allocations: 31.91 kB / 0.9836 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/0.4136, allocations: 4 kB / 0.9836 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.4137, allocations: 4 kB / 0.9836 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.4138, allocations: 21.47 kB / 0.9836 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.4138, allocations: 0 / 0.9836 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.4139, allocations: 8 kB / 0.9836 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.414, allocations: 52.38 kB / 0.9837 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.4141, allocations: 35.75 kB / 0.9837 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.4143, allocations: 67.88 kB / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4143, allocations: 0 / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4143, allocations: 4 kB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4143, allocations: 0 / 0.9838 GB, free: 8.773 MB / 0.7136 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.0006055/0.4149, allocations: 422.8 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.415, allocations: 12.03 kB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4151, allocations: 88.03 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.4153, allocations: 278.6 kB / 0.9845 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.4154, allocations: 150.6 kB / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.4155, allocations: 158.6 kB / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.4156, allocations: 105 kB / 0.9849 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.4156, allocations: 79.28 kB / 0.985 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/0.4157, allocations: 154.5 kB / 0.9851 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/0.4158, allocations: 150.6 kB / 0.9853 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.4158, allocations: 150.6 kB / 0.9854 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.4163, allocations: 0.5016 MB / 0.9859 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4164, allocations: 165.1 kB / 0.9861 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.4164, allocations: 84.08 kB / 0.9862 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.4165, allocations: 75.28 kB / 0.9862 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.4166, allocations: 113.8 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.4166, allocations: 0 / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001126/0.4167, allocations: 41.55 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.4168, allocations: 130.7 kB / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.4171, allocations: 219.1 kB / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4171, allocations: 25.7 kB / 0.9867 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.4172, allocations: 116 kB / 0.9868 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.4172, allocations: 4 kB / 0.9868 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.4173, allocations: 37.69 kB / 0.9869 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4175, allocations: 326.8 kB / 0.9872 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4176, allocations: 63.95 kB / 0.9873 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.4177, allocations: 54.78 kB / 0.9873 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.4179, allocations: 140.8 kB / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4179, allocations: 0 / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003928/0.4183, allocations: 179.7 kB / 0.9876 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4183, allocations: 4.062 kB / 0.9876 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4183, allocations: 4 kB / 0.9876 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4183, allocations: 0 / 0.9876 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.4184, allocations: 0 / 0.9876 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4184, allocations: 0 / 0.9876 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.4184, allocations: 19.69 kB / 0.9876 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.4185, allocations: 11.94 kB / 0.9877 GB, free: 4.551 MB / 0.7136 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 0.0001552/0.4186, allocations: 201.1 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.4187, allocations: 108.9 kB / 0.9879 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.4188, allocations: 125.5 kB / 0.9881 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/0.4189, allocations: 176.3 kB / 0.9882 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/0.419, allocations: 180.2 kB / 0.9884 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/0.4191, allocations: 176.3 kB / 0.9886 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.4194, allocations: 441.1 kB / 0.989 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.151e-05/0.4195, allocations: 108.9 kB / 0.9891 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.4195, allocations: 109 kB / 0.9892 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.4196, allocations: 180.2 kB / 0.9894 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4198, allocations: 184.3 kB / 0.9896 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.921e-05/0.4198, allocations: 180.2 kB / 0.9897 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.826e-05/0.4199, allocations: 184.4 kB / 0.9899 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.4206, allocations: 0.8841 MB / 0.9908 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.4207, allocations: 185.9 kB / 0.9909 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4209, allocations: 188.2 kB / 0.9911 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.421, allocations: 108.9 kB / 0.9912 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4211, allocations: 176.3 kB / 0.9914 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.4212, allocations: 105 kB / 0.9915 GB, free: 364 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001718/0.4214, allocations: 168.5 kB / 0.9917 GB, free: 196 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4214, allocations: 3.938 kB / 0.9917 GB, free: 192 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004155/0.4218, allocations: 20 kB / 0.9917 GB, free: 172 kB / 0.7136 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.0003287/0.4221, allocations: 182.5 kB / 0.9919 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.4223, allocations: 75.95 kB / 0.9919 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4224, allocations: 0 / 0.9919 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.4224, allocations: 0 / 0.9919 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.4229, allocations: 0.5185 MB / 0.9924 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.4236, allocations: 327.9 kB / 0.9927 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.424, allocations: 0.7121 MB / 0.9934 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.424, allocations: 7.984 kB / 0.9934 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.4241, allocations: 15.38 kB / 0.9935 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.4241, allocations: 3.938 kB / 0.9935 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.003774/0.4279, allocations: 0.7345 MB / 0.9942 GB, free: 13.53 MB / 0.7292 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)