Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 101.8 kB / 16.29 MB, free: 6.426 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.001201/0.001201, allocations: 189.5 kB / 17.22 MB, free: 5.957 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.186/1.186, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.596/1.596, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001337/0.001337, allocations: 67.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2069, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002707/0.2096, allocations: 1.73 MB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.211, allocations: 0.9483 MB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.211, allocations: 0 / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.2112, allocations: 27.73 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.2115, allocations: 119.4 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.2118, allocations: 152.7 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.2121, allocations: 243.4 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2122, allocations: 29.69 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2123, allocations: 111.7 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.2125, allocations: 131.5 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2126, allocations: 19.94 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.2128, allocations: 135.8 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.2128, allocations: 43.81 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.2129, allocations: 95.56 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3035/0.5164, allocations: 292.2 kB / 0.788 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5165, allocations: 0 / 0.788 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5165, allocations: 2.906 kB / 0.788 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5165, allocations: 0 / 0.788 GB, free: 47.02 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006761/0.5172, allocations: 0.568 MB / 0.7886 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.5172, allocations: 8.656 kB / 0.7886 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.5173, allocations: 22.69 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.5175, allocations: 239.2 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5175, allocations: 12.97 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5175, allocations: 17.47 kB / 0.7889 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5177, allocations: 92.78 kB / 0.7889 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5177, allocations: 0 / 0.7889 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5177, allocations: 7.766 kB / 0.789 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.5177, allocations: 0 / 0.789 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.5178, allocations: 51.73 kB / 0.789 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.5184, allocations: 464.4 kB / 0.7894 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.5188, allocations: 139.4 kB / 0.7896 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.5188, allocations: 38.25 kB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.5189, allocations: 3.062 kB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.5191, allocations: 103.4 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.5191, allocations: 2.906 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0002706/0.5193, allocations: 167 kB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.5194, allocations: 66.17 kB / 0.7899 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.5195, allocations: 194.1 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.5195, allocations: 31.7 kB / 0.7902 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.5196, allocations: 125.1 kB / 0.7903 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.5196, allocations: 40.8 kB / 0.7903 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.5197, allocations: 56.38 kB / 0.7904 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.5197, allocations: 331.1 kB / 0.7907 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.5198, allocations: 33.91 kB / 0.7907 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.52, allocations: 122.2 kB / 0.7908 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.5201, allocations: 106.9 kB / 0.7909 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5201, allocations: 0 / 0.7909 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001864/0.5203, allocations: 162.3 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5203, allocations: 6.562 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5203, allocations: 2.531 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5203, allocations: 2.625 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.5204, allocations: 16.44 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.5204, allocations: 2.062 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.5206, allocations: 23.77 kB / 0.7911 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.5206, allocations: 11.59 kB / 0.7912 GB, free: 45.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 8.272e-05/0.5207, allocations: 138.8 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.5207, allocations: 20.62 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.5207, allocations: 21.8 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5208, allocations: 6.062 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5208, allocations: 1.125 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5208, allocations: 0 / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.5212, allocations: 498.4 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5212, allocations: 1.281 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.5213, allocations: 10.95 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5213, allocations: 0 / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.5213, allocations: 7.938 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5213, allocations: 1.969 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5213, allocations: 1.75 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.5214, allocations: 229.7 kB / 0.792 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.5215, allocations: 94.5 kB / 0.7921 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.5215, allocations: 6.141 kB / 0.7921 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5216, allocations: 11.78 kB / 0.7922 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.5217, allocations: 30.05 kB / 0.7922 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5217, allocations: 9.188 kB / 0.7922 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.402e-05/0.5218, allocations: 145.2 kB / 0.7923 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5218, allocations: 0 / 0.7923 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002912/0.5221, allocations: 74.45 kB / 0.7924 GB, free: 44.33 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000362/0.5225, allocations: 236.5 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.5226, allocations: 101.1 kB / 0.7927 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5227, allocations: 1.688 kB / 0.7927 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.5227, allocations: 55.86 kB / 0.7928 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.5231, allocations: 57.36 kB / 0.7928 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.5236, allocations: 308.8 kB / 0.7931 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.5237, allocations: 0.7218 MB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.298e-05/0.5238, allocations: 24.7 kB / 0.7939 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.5238, allocations: 23.89 kB / 0.7939 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.5238, allocations: 384 / 0.7939 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.006542/0.5304, allocations: 4.229 MB / 0.798 GB, free: 43.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)