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.001053/0.001053, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.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.759/1.759, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001394/0.001394, allocations: 70.58 kB / 0.6715 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2176, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003006/0.2207, allocations: 1.728 MB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2221, allocations: 0.9494 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.2222, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2224, allocations: 31.72 kB / 0.786 GB, free: 10.77 MB / 0.6075 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.0003373/0.2228, allocations: 115.5 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.2231, allocations: 151 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.2233, allocations: 247.3 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2235, allocations: 33.66 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2236, allocations: 107.7 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.2238, allocations: 135.5 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.2238, allocations: 16 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.224, allocations: 107.9 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.2241, allocations: 47.77 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2242, allocations: 95.55 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.2245, allocations: 283.5 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2246, allocations: 3.938 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2246, allocations: 0 / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2246, allocations: 0 / 0.7873 GB, free: 9.453 MB / 0.6075 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.0007596/0.2253, allocations: 0.5684 MB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2254, allocations: 12.03 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.2255, allocations: 20.66 kB / 0.7879 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.2257, allocations: 243.5 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2257, allocations: 12 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.2258, allocations: 12 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2259, allocations: 93.61 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.226, allocations: 4 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.226, allocations: 4 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.226, allocations: 0 / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.2261, allocations: 51.97 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.2268, allocations: 476.2 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.2273, allocations: 134.6 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.2273, allocations: 48.78 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2274, allocations: 0 / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.2276, allocations: 107.3 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2276, allocations: 0 / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003171/0.2279, allocations: 175.4 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.228, allocations: 55.39 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.2281, allocations: 198.5 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2282, allocations: 37.7 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.2283, allocations: 120.5 kB / 0.7896 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.2283, allocations: 35.55 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.2284, allocations: 57.69 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.2285, allocations: 326.8 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.2286, allocations: 35.98 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.2288, allocations: 131.6 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2289, allocations: 103.9 kB / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2289, allocations: 0 / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002349/0.2292, allocations: 161.2 kB / 0.7904 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2292, allocations: 4 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2292, allocations: 4 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2292, allocations: 0 / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.2293, allocations: 15.94 kB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2293, allocations: 4 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.2295, allocations: 27.91 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2296, allocations: 4 kB / 0.7904 GB, free: 5.945 MB / 0.6075 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 0.0001137/0.2297, allocations: 143.6 kB / 0.7906 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.2297, allocations: 19.72 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.2298, allocations: 21.86 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2298, allocations: 4 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2298, allocations: 0 / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2298, allocations: 0 / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.2304, allocations: 0.4942 MB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2304, allocations: 3.938 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.2305, allocations: 4 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2305, allocations: 0 / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2305, allocations: 0 / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2305, allocations: 3.938 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2305, allocations: 0 / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.2307, allocations: 233.9 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.2308, allocations: 96.86 kB / 0.7914 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2308, allocations: 11.92 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2309, allocations: 15.92 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.231, allocations: 23.97 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.231, allocations: 4 kB / 0.7915 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001141/0.2312, allocations: 144.2 kB / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2312, allocations: 0 / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003473/0.2315, allocations: 75.98 kB / 0.7917 GB, free: 4.562 MB / 0.6075 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.0004261/0.2319, allocations: 224.7 kB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.2322, allocations: 111.7 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2322, allocations: 0 / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.2323, allocations: 55.86 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.2327, allocations: 71.81 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.2333, allocations: 315.2 kB / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2336, allocations: 0.7203 MB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.845e-05/0.2337, allocations: 29.52 kB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.2338, allocations: 31.42 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2338, allocations: 0 / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of Templates: time 0.007898/0.2417, allocations: 4.203 MB / 0.7973 GB, free: 14.83 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)