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.001196/0.001196, allocations: 112.6 kB / 16.38 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.001234/0.001234, allocations: 187 kB / 17.31 MB, free: 5.621 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001427/0.001427, allocations: 64.12 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2295, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003459/0.233, allocations: 1.734 MB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2346, allocations: 0.9445 MB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.2346, allocations: 3.938 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2348, allocations: 27.73 kB / 0.7874 GB, free: 492 kB / 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.0003682/0.2352, allocations: 119.4 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2356, allocations: 159.7 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3287/0.5643, allocations: 232.9 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.5645, allocations: 34.25 kB / 0.788 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.5646, allocations: 112.4 kB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.5649, allocations: 125 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.5649, allocations: 20.38 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.5651, allocations: 138.5 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.5652, allocations: 44.89 kB / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.5653, allocations: 89.33 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.5656, allocations: 293 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5656, allocations: 0 / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5657, allocations: 0 / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.5657, allocations: 3.375 kB / 0.7887 GB, free: 46.52 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.0006996/0.5664, allocations: 0.5721 MB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5664, allocations: 8 kB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.5665, allocations: 23.31 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.5667, allocations: 244.5 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5667, allocations: 16.19 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.5668, allocations: 17.47 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.5669, allocations: 91.77 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.567, allocations: 0 / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.567, allocations: 5.625 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.567, allocations: 0 / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.5671, allocations: 48.08 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.5677, allocations: 464.3 kB / 0.7902 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.5681, allocations: 139.7 kB / 0.7903 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.5682, allocations: 34.09 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5682, allocations: 2.531 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.5684, allocations: 111.6 kB / 0.7905 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.5684, allocations: 2.625 kB / 0.7905 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.000296/0.5687, allocations: 171.2 kB / 0.7906 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.5688, allocations: 57.7 kB / 0.7907 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.5689, allocations: 196.6 kB / 0.7909 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.569, allocations: 33.83 kB / 0.7909 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.569, allocations: 119.9 kB / 0.791 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.5691, allocations: 40.56 kB / 0.791 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.5691, allocations: 51.12 kB / 0.7911 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.5692, allocations: 331.7 kB / 0.7914 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.5693, allocations: 36.89 kB / 0.7914 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.5695, allocations: 127.9 kB / 0.7916 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.5696, allocations: 101.4 kB / 0.7917 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5696, allocations: 0 / 0.7917 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002024/0.5698, allocations: 165.3 kB / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5698, allocations: 7.094 kB / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5698, allocations: 2.625 kB / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5698, allocations: 0 / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.5699, allocations: 21.53 kB / 0.7919 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5699, allocations: 2.625 kB / 0.7919 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.5701, allocations: 25.44 kB / 0.7919 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.5701, allocations: 5.406 kB / 0.7919 GB, free: 44.58 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 9.207e-05/0.5702, allocations: 142.2 kB / 0.792 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.5703, allocations: 20.41 kB / 0.792 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.5703, allocations: 22 kB / 0.7921 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5703, allocations: 0.625 kB / 0.7921 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5703, allocations: 0.9062 kB / 0.7921 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.5704, allocations: 94.06 kB / 0.7921 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.5704, allocations: 3.938 kB / 0.7922 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.5705, allocations: 15.97 kB / 0.7922 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.5706, allocations: 19.75 kB / 0.7922 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002199/0.5708, allocations: 220.4 kB / 0.7924 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001713/0.571, allocations: 308.7 kB / 0.7927 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.901e-05/0.5711, allocations: 57.33 kB / 0.7927 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.5711, allocations: 142.7 kB / 0.7929 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of Backend: time 4.7e-07/0.5711, allocations: 0 / 0.7929 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007294/0.5719, allocations: 285.1 kB / 0.7932 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005772/0.5725, allocations: 0.7559 MB / 0.7939 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.006967/0.5795, allocations: 4.241 MB / 0.798 GB, free: 43.02 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)