Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.002368/0.002368, allocations: 188.8 kB / 366.7 MB, free: 1.621 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.059/2.059, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001119/0.001119, allocations: 86.48 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.041e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6816/0.6817, allocations: 116.3 MB / 0.9733 GB, free: 75.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.8726, allocations: 141.1 MB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.8729, allocations: 78.09 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01954/0.8925, allocations: 6.695 MB / 1.118 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8925, allocations: 0 / 1.118 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.603e-05/0.8926, allocations: 4 kB / 1.118 GB, free: 2.297 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008094/0.8934, allocations: 0.4996 MB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.8934, allocations: 8.031 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.8935, allocations: 19.77 kB / 1.118 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.8941, allocations: 255.4 kB / 1.118 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.8941, allocations: 4 kB / 1.118 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.8942, allocations: 10.56 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001233/0.8943, allocations: 35.98 kB / 1.119 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.8945, allocations: 66.66 kB / 1.119 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.8945, allocations: 0 / 1.119 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.8945, allocations: 8 kB / 1.119 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.8945, allocations: 3.953 kB / 1.119 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.8953, allocations: 408.5 kB / 1.119 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.8955, allocations: 66.55 kB / 1.119 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.8955, allocations: 24.86 kB / 1.119 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.8955, allocations: 5.031 kB / 1.119 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.8957, allocations: 93.86 kB / 1.119 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 3.206e-06/0.8957, allocations: 0 / 1.119 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002303/0.8959, allocations: 101.4 kB / 1.119 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.896, allocations: 51.41 kB / 1.119 GB, free: 500 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.8962, allocations: 166.1 kB / 1.119 GB, free: 324 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.8962, allocations: 33.7 kB / 1.12 GB, free: 284 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.8963, allocations: 112 kB / 1.12 GB, free: 168 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.8963, allocations: 23.7 kB / 1.12 GB, free: 144 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.8963, allocations: 0 / 1.12 GB, free: 144 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8965, allocations: 330.8 kB / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.8965, allocations: 19 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.8967, allocations: 108.8 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.8968, allocations: 42.95 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8968, allocations: 0 / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001955/0.897, allocations: 109.4 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.897, allocations: 4 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.8971, allocations: 3.953 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8971, allocations: 4 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.8972, allocations: 15.92 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.8972, allocations: 8.125 kB / 1.12 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.8974, allocations: 21.67 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.8974, allocations: 8 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.8975, allocations: 108.9 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001507/0.8977, allocations: 97.48 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.8977, allocations: 15.77 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.8978, allocations: 13.84 kB / 1.121 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8978, allocations: 4 kB / 1.121 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8978, allocations: 4 kB / 1.121 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8978, allocations: 3.984 kB / 1.121 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.8983, allocations: 398.8 kB / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8983, allocations: 0 / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.8984, allocations: 3.984 kB / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.8984, allocations: 8 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.8984, allocations: 1.375 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8984, allocations: 0 / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8984, allocations: 0 / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.8986, allocations: 205.4 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.8987, allocations: 88.92 kB / 1.121 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.8987, allocations: 3.984 kB / 1.121 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.8988, allocations: 12 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.8989, allocations: 19.97 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.8989, allocations: 5.875 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001044/0.899, allocations: 129.2 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.899, allocations: 0 / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002948/0.8993, allocations: 39.92 kB / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008033/0.9001, allocations: 0.8039 MB / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.9004, allocations: 63.94 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9004, allocations: 0 / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.9004, allocations: 39.92 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.9008, allocations: 36.16 kB / 1.122 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.9015, allocations: 240.1 kB / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.902, allocations: 0.7186 MB / 1.123 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.262e-05/0.9021, allocations: 25.94 kB / 1.123 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.9022, allocations: 43.42 kB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.9022, allocations: 0 / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.9288, allocations: 4.081 MB / 1.127 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.9291, allocations: 183.3 kB / 1.127 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.716, allocations: 0.5 kB / 1.127 GB, free: 8.055 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)