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.001313/0.001313, allocations: 107.7 kB / 16.36 MB, free: 6.461 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.001256/0.001256, allocations: 193.7 kB / 17.3 MB, free: 5.812 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001519/0.001519, allocations: 71.03 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2356, allocations: 114.6 MB / 0.7848 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003302/0.2389, allocations: 1.733 MB / 0.7865 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2405, allocations: 0.9483 MB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.2406, allocations: 0 / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.2408, allocations: 27.73 kB / 0.7874 GB, free: 0.5039 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.0003615/0.2412, allocations: 119.4 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.2415, allocations: 155.7 kB / 0.7877 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.2418, allocations: 231.4 kB / 0.7879 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.381/0.6228, allocations: 32.42 kB / 0.7879 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.6231, allocations: 111.7 kB / 0.788 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.6234, allocations: 128.4 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.6234, allocations: 18.94 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.6237, allocations: 137.8 kB / 0.7883 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.6238, allocations: 40.58 kB / 0.7883 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.6239, allocations: 92.66 kB / 0.7884 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.6243, allocations: 289.9 kB / 0.7887 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6244, allocations: 0.6562 kB / 0.7887 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6244, allocations: 0 / 0.7887 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.6244, allocations: 3.938 kB / 0.7887 GB, free: 46.34 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.0007875/0.6252, allocations: 0.5751 MB / 0.7893 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.6252, allocations: 8.25 kB / 0.7893 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.6253, allocations: 21.53 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.6256, allocations: 250.8 kB / 0.7895 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.6256, allocations: 8.531 kB / 0.7896 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.6256, allocations: 18.97 kB / 0.7896 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.6258, allocations: 86.86 kB / 0.7897 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6258, allocations: 2.875 kB / 0.7897 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6258, allocations: 4.125 kB / 0.7897 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6258, allocations: 4.906 kB / 0.7897 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.626, allocations: 51.05 kB / 0.7897 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.6266, allocations: 463.2 kB / 0.7902 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.627, allocations: 142.2 kB / 0.7903 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.6271, allocations: 38.09 kB / 0.7903 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.6271, allocations: 1.406 kB / 0.7903 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.6274, allocations: 114 kB / 0.7904 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.6274, allocations: 0 / 0.7904 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003458/0.6278, allocations: 163.7 kB / 0.7906 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.6278, allocations: 58.73 kB / 0.7906 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.628, allocations: 204.7 kB / 0.7908 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.628, allocations: 28.33 kB / 0.7909 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.6281, allocations: 124.3 kB / 0.791 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.6281, allocations: 39.08 kB / 0.791 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.6282, allocations: 58.89 kB / 0.7911 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.6283, allocations: 328.2 kB / 0.7914 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.6284, allocations: 32.02 kB / 0.7914 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.6286, allocations: 128.8 kB / 0.7915 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6287, allocations: 100.5 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6287, allocations: 1.312 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002106/0.6289, allocations: 159.6 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6289, allocations: 6.594 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6289, allocations: 2.625 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.629, allocations: 3.188 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.629, allocations: 23.88 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.629, allocations: 2.625 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.6292, allocations: 22.16 kB / 0.7919 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6293, allocations: 7.781 kB / 0.7919 GB, free: 44.41 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 0.0001031/0.6294, allocations: 145.8 kB / 0.792 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.6294, allocations: 19.62 kB / 0.792 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.6294, allocations: 22.45 kB / 0.792 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6295, allocations: 2.625 kB / 0.792 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6295, allocations: 1.875 kB / 0.792 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6295, allocations: 2.125 kB / 0.7921 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.63, allocations: 494.2 kB / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.63, allocations: 0 / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.63, allocations: 8.812 kB / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.63, allocations: 7.812 kB / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.63, allocations: 0 / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6301, allocations: 0 / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6301, allocations: 2.625 kB / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.6302, allocations: 233.7 kB / 0.7928 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.6303, allocations: 92.41 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.6303, allocations: 6.5 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6304, allocations: 12.12 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.6305, allocations: 29.94 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.6305, allocations: 5.25 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.306e-05/0.6306, allocations: 147 kB / 0.793 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6306, allocations: 0 / 0.793 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003347/0.631, allocations: 71.66 kB / 0.7931 GB, free: 43.63 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.0004247/0.6314, allocations: 245.1 kB / 0.7933 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.6316, allocations: 103 kB / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6316, allocations: 0 / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.6317, allocations: 54.31 kB / 0.7935 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.6321, allocations: 52.66 kB / 0.7935 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.6327, allocations: 306 kB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.6329, allocations: 0.7269 MB / 0.7945 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.6329, allocations: 25.83 kB / 0.7946 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.633, allocations: 22.41 kB / 0.7946 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.633, allocations: 2.719 kB / 0.7946 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.008001/0.641, allocations: 4.227 MB / 0.7987 GB, free: 42.41 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)