Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004946/0.004946, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001209/0.001209, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.212/1.212, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.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.001343/0.001343, allocations: 68.45 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2109, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002784/0.2137, allocations: 1.727 MB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2151, allocations: 0.952 MB / 0.8306 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.2152, allocations: 0 / 0.8306 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.2154, allocations: 31.72 kB / 0.8307 GB, free: 13.5 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.0003502/0.2158, allocations: 119.4 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.2161, allocations: 159.6 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2163, allocations: 235.5 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2165, allocations: 53.59 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2166, allocations: 111.6 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2168, allocations: 135.5 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.2169, allocations: 16 kB / 0.8315 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.2171, allocations: 131.8 kB / 0.8316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.2171, allocations: 43.83 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2172, allocations: 91.56 kB / 0.8317 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.2176, allocations: 290.9 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2176, allocations: 0 / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2176, allocations: 4 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2176, allocations: 0 / 0.832 GB, free: 12.14 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008102/0.2185, allocations: 0.5758 MB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2185, allocations: 11.97 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.2186, allocations: 24.78 kB / 0.8326 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.2189, allocations: 247.6 kB / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2189, allocations: 11.94 kB / 0.8328 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.2189, allocations: 16 kB / 0.8329 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.2191, allocations: 127.2 kB / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2191, allocations: 0 / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2192, allocations: 3.984 kB / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2192, allocations: 4 kB / 0.833 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2193, allocations: 51.97 kB / 0.833 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.22, allocations: 0.5396 MB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2202, allocations: 97.31 kB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.2203, allocations: 41.7 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2203, allocations: 4 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.2205, allocations: 121 kB / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.946e-06/0.2205, allocations: 0 / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003119/0.2208, allocations: 173.1 kB / 0.834 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2209, allocations: 85.17 kB / 0.8341 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.2211, allocations: 214.2 kB / 0.8343 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.2211, allocations: 33.7 kB / 0.8343 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.2212, allocations: 116.5 kB / 0.8344 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2212, allocations: 43.69 kB / 0.8345 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.2213, allocations: 57.67 kB / 0.8345 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.2214, allocations: 330.8 kB / 0.8348 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.2215, allocations: 31.98 kB / 0.8349 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.2217, allocations: 143.2 kB / 0.835 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2219, allocations: 105.9 kB / 0.8351 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2219, allocations: 4 kB / 0.8351 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002193/0.2221, allocations: 153.4 kB / 0.8352 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2221, allocations: 4 kB / 0.8352 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2221, allocations: 4 kB / 0.8352 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2221, allocations: 160 / 0.8352 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.2222, allocations: 31.86 kB / 0.8353 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2222, allocations: 4 kB / 0.8353 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2224, allocations: 23.88 kB / 0.8353 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2225, allocations: 12 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001148/0.2226, allocations: 143.5 kB / 0.8355 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.2226, allocations: 15.91 kB / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.2227, allocations: 17.53 kB / 0.8355 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2227, allocations: 4 kB / 0.8355 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2227, allocations: 4 kB / 0.8355 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2227, allocations: 7.922 kB / 0.8355 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.2232, allocations: 466.2 kB / 0.8359 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2232, allocations: 3.984 kB / 0.8359 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.2232, allocations: 8 kB / 0.836 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2232, allocations: 0 / 0.836 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2233, allocations: 4 kB / 0.836 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2233, allocations: 3.938 kB / 0.836 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2233, allocations: 4 kB / 0.836 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.2235, allocations: 232.2 kB / 0.8362 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2235, allocations: 89.02 kB / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2236, allocations: 8 kB / 0.8363 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2237, allocations: 15.91 kB / 0.8363 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.2238, allocations: 19.98 kB / 0.8363 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2238, allocations: 12 kB / 0.8363 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001073/0.2239, allocations: 144.2 kB / 0.8365 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2239, allocations: 0 / 0.8365 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003279/0.2242, allocations: 79.75 kB / 0.8365 GB, free: 7.055 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004221/0.2247, allocations: 235.3 kB / 0.8368 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2249, allocations: 110.6 kB / 0.8369 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2249, allocations: 0 / 0.8369 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.225, allocations: 51.92 kB / 0.8369 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.2254, allocations: 57.94 kB / 0.837 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.2259, allocations: 312.2 kB / 0.8373 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2262, allocations: 0.7281 MB / 0.838 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.2262, allocations: 17.55 kB / 0.838 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.2263, allocations: 27.42 kB / 0.838 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2263, allocations: 0 / 0.838 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of Templates: time 0.00713/0.2334, allocations: 4.17 MB / 0.8421 GB, free: 1.379 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)