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.005001/0.005001, allocations: 107.8 kB / 15.7 MB, free: 6.066 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.001169/0.001169, allocations: 190.5 kB / 16.64 MB, free: 5.992 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.308/1.308, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.00223/0.002231, allocations: 70.38 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2008, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002933/0.2038, allocations: 1.73 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2052, allocations: 0.9377 MB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.2053, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2055, allocations: 31.72 kB / 0.7868 GB, free: 9.984 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.0003453/0.2059, allocations: 119.4 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.2062, allocations: 143.7 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.2065, allocations: 247.4 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2066, allocations: 33.66 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2067, allocations: 115.6 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2069, allocations: 123.5 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.207, allocations: 20 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.2071, allocations: 151.8 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.2072, allocations: 35.84 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.2073, allocations: 87.56 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.2076, allocations: 291.1 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2077, allocations: 0 / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2077, allocations: 0 / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2077, allocations: 0 / 0.7881 GB, free: 8.645 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.0007932/0.2085, allocations: 0.5762 MB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2085, allocations: 8.031 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.2086, allocations: 24.66 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2089, allocations: 247.5 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2089, allocations: 12 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.2089, allocations: 8 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.2091, allocations: 100.2 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2091, allocations: 0 / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2091, allocations: 4 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2091, allocations: 8 kB / 0.789 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.2092, allocations: 51.91 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.2099, allocations: 460.3 kB / 0.7895 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.2104, allocations: 142.7 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.2104, allocations: 40.83 kB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2105, allocations: 7.984 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.2107, allocations: 109.7 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.825e-06/0.2107, allocations: 0 / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003351/0.211, allocations: 165.3 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2111, allocations: 59.39 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2113, allocations: 195.7 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.2113, allocations: 29.7 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.2114, allocations: 124.5 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2114, allocations: 35.55 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.2115, allocations: 65.67 kB / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2116, allocations: 326.8 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.2117, allocations: 27.98 kB / 0.7908 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.212, allocations: 141.9 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2121, allocations: 106.8 kB / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2121, allocations: 0 / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002275/0.2124, allocations: 153.3 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2124, allocations: 4 kB / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2124, allocations: 8.062 kB / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2124, allocations: 4 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.2125, allocations: 15.98 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2125, allocations: 0 / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.2127, allocations: 23.92 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2127, allocations: 8 kB / 0.7912 GB, free: 5.133 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.0001243/0.2129, allocations: 144.1 kB / 0.7914 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.2129, allocations: 19.72 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.2129, allocations: 21.88 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2129, allocations: 0 / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.213, allocations: 0 / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.213, allocations: 7.984 kB / 0.7914 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.2136, allocations: 493 kB / 0.7919 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2136, allocations: 0 / 0.7919 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.2136, allocations: 11.92 kB / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2136, allocations: 0 / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2137, allocations: 8 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2137, allocations: 3.938 kB / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2137, allocations: 0 / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2139, allocations: 231.3 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.214, allocations: 92.86 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.214, allocations: 0 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2141, allocations: 19.92 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.2142, allocations: 27.97 kB / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2142, allocations: 8 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000121/0.2143, allocations: 143.3 kB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2144, allocations: 0 / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003384/0.2147, allocations: 75.92 kB / 0.7925 GB, free: 3.754 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.0004231/0.2151, allocations: 235.8 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.2154, allocations: 107.7 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2154, allocations: 0 / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.2155, allocations: 55.92 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2159, allocations: 66.14 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.2165, allocations: 299.3 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2167, allocations: 0.7284 MB / 0.7939 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.2168, allocations: 17.55 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.2169, allocations: 27.42 kB / 0.794 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2169, allocations: 0 / 0.794 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.007498/0.2244, allocations: 4.218 MB / 0.7981 GB, free: 14.04 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)