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.004922/0.004922, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001269/0.001269, allocations: 191 kB / 16.67 MB, free: 5.969 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.155/1.155, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.375/1.375, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001429/0.001429, allocations: 71.89 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1764, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003042/0.1795, allocations: 1.739 MB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.181, allocations: 0.9443 MB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1811, allocations: 8 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.1813, allocations: 23.73 kB / 0.8307 GB, free: 13.48 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.0004505/0.1818, allocations: 127.3 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1822, allocations: 158.6 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.1825, allocations: 235.4 kB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1826, allocations: 53.53 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1828, allocations: 107.7 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.183, allocations: 131.5 kB / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.183, allocations: 20 kB / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.1832, allocations: 127.8 kB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.1833, allocations: 43.83 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1834, allocations: 91.56 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.1838, allocations: 295.2 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1838, allocations: 0 / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1838, allocations: 0 / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1838, allocations: 0 / 0.832 GB, free: 12.12 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.0007812/0.1846, allocations: 0.576 MB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1847, allocations: 12.03 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.1848, allocations: 24.75 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.185, allocations: 247.5 kB / 0.8328 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1851, allocations: 8 kB / 0.8328 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1851, allocations: 16 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1853, allocations: 115.3 kB / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1853, allocations: 0 / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1853, allocations: 0 / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1854, allocations: 0 / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1855, allocations: 55.97 kB / 0.833 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.1863, allocations: 0.5473 MB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1865, allocations: 101.1 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.1865, allocations: 37.77 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1865, allocations: 4 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1868, allocations: 125.1 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1868, allocations: 4 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003299/0.1871, allocations: 157.6 kB / 0.834 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1872, allocations: 81.11 kB / 0.834 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1874, allocations: 210.2 kB / 0.8342 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1874, allocations: 33.7 kB / 0.8343 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.1875, allocations: 124.4 kB / 0.8344 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1875, allocations: 39.5 kB / 0.8344 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.1876, allocations: 53.67 kB / 0.8345 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1877, allocations: 331 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.1878, allocations: 35.98 kB / 0.8348 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.1881, allocations: 133.3 kB / 0.8349 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1882, allocations: 117.4 kB / 0.8351 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1882, allocations: 0 / 0.8351 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002393/0.1885, allocations: 169.3 kB / 0.8352 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1885, allocations: 10.97 kB / 0.8352 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1885, allocations: 0 / 0.8352 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1885, allocations: 7.938 kB / 0.8352 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.1886, allocations: 15.94 kB / 0.8353 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1886, allocations: 4 kB / 0.8353 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1888, allocations: 31.81 kB / 0.8353 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1888, allocations: 4 kB / 0.8353 GB, free: 8.414 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.0001361/0.189, allocations: 151.6 kB / 0.8354 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.189, allocations: 15.81 kB / 0.8355 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.1891, allocations: 21.52 kB / 0.8355 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1891, allocations: 0 / 0.8355 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1891, allocations: 4 kB / 0.8355 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1891, allocations: 0 / 0.8355 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1896, allocations: 462.2 kB / 0.8359 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1896, allocations: 4 kB / 0.8359 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.1896, allocations: 4 kB / 0.8359 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1897, allocations: 4 kB / 0.8359 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1897, allocations: 11.98 kB / 0.8359 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1897, allocations: 7.875 kB / 0.8359 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1897, allocations: 4 kB / 0.836 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1899, allocations: 227 kB / 0.8362 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.1899, allocations: 96.84 kB / 0.8363 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.19, allocations: 4 kB / 0.8363 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1901, allocations: 19.92 kB / 0.8363 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.1902, allocations: 19.97 kB / 0.8363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1902, allocations: 8 kB / 0.8363 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001105/0.1903, allocations: 140.2 kB / 0.8364 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1903, allocations: 0 / 0.8364 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003413/0.1907, allocations: 75.98 kB / 0.8365 GB, free: 7.062 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.0004237/0.1911, allocations: 235.8 kB / 0.8367 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.1913, allocations: 95.91 kB / 0.8368 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1913, allocations: 0 / 0.8368 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1914, allocations: 43.92 kB / 0.8369 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1918, allocations: 73.14 kB / 0.8369 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1924, allocations: 316 kB / 0.8372 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1926, allocations: 0.7241 MB / 0.838 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.369e-05/0.1927, allocations: 25.53 kB / 0.838 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.1928, allocations: 23.44 kB / 0.838 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.1928, allocations: 0 / 0.838 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.007577/0.2004, allocations: 4.176 MB / 0.8421 GB, free: 1.387 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)