Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001177/0.001177, allocations: 107.1 kB / 16.29 MB, free: 6.43 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.001188/0.001188, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.21/1.21, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.591/1.591, allocations: 292.3 MB / 0.5495 GB, free: 17.4 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.001359/0.001359, allocations: 67.89 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2078, allocations: 114.5 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002783/0.2106, allocations: 1.733 MB / 0.7857 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.212, allocations: 0.9444 MB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.2121, allocations: 0 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2123, allocations: 35.7 kB / 0.7867 GB, free: 1.098 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.0003291/0.2126, allocations: 123.4 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.2129, allocations: 145 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2132, allocations: 243.3 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2133, allocations: 41.66 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2135, allocations: 111.7 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.2137, allocations: 131.5 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.2137, allocations: 24 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.2139, allocations: 127.8 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.214, allocations: 39.83 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2141, allocations: 99.48 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.339/0.5531, allocations: 285.7 kB / 0.788 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5531, allocations: 0 / 0.788 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5531, allocations: 0 / 0.788 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5531, allocations: 0 / 0.788 GB, free: 46.23 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.0006529/0.5538, allocations: 0.5823 MB / 0.7886 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.5538, allocations: 8.406 kB / 0.7886 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.5539, allocations: 25.86 kB / 0.7886 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.5541, allocations: 241.9 kB / 0.7888 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5541, allocations: 9.844 kB / 0.7889 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.5542, allocations: 19.38 kB / 0.7889 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.5543, allocations: 106.6 kB / 0.789 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5543, allocations: 2.438 kB / 0.789 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5544, allocations: 4.188 kB / 0.789 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5544, allocations: 2.875 kB / 0.789 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.5545, allocations: 56.28 kB / 0.789 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.5551, allocations: 0.5422 MB / 0.7896 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.5553, allocations: 98.8 kB / 0.7897 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.5553, allocations: 39.86 kB / 0.7897 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5553, allocations: 6.797 kB / 0.7897 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.5556, allocations: 126.3 kB / 0.7898 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.5556, allocations: 0 / 0.7898 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0002764/0.5558, allocations: 166.9 kB / 0.79 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5559, allocations: 79.73 kB / 0.7901 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.556, allocations: 206 kB / 0.7903 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.5561, allocations: 35.23 kB / 0.7903 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.5561, allocations: 123.9 kB / 0.7904 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.5561, allocations: 33.33 kB / 0.7904 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.5562, allocations: 61.48 kB / 0.7905 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.5563, allocations: 329 kB / 0.7908 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.5563, allocations: 34.84 kB / 0.7908 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5565, allocations: 131.3 kB / 0.791 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.5566, allocations: 116.7 kB / 0.7911 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5566, allocations: 3.938 kB / 0.7911 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002072/0.5568, allocations: 159.1 kB / 0.7912 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5569, allocations: 9.062 kB / 0.7912 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5569, allocations: 0 / 0.7912 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5569, allocations: 3.062 kB / 0.7913 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.557, allocations: 17.36 kB / 0.7913 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.557, allocations: 3.531 kB / 0.7913 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.5572, allocations: 33.67 kB / 0.7913 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.5572, allocations: 7.531 kB / 0.7913 GB, free: 44.1 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 8.494e-05/0.5573, allocations: 141.9 kB / 0.7914 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.5573, allocations: 17.98 kB / 0.7915 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.5574, allocations: 22.28 kB / 0.7915 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5574, allocations: 2.625 kB / 0.7915 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5574, allocations: 2.094 kB / 0.7915 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5574, allocations: 2.938 kB / 0.7915 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.5578, allocations: 472.5 kB / 0.7919 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5578, allocations: 3.75 kB / 0.7919 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.5578, allocations: 5.25 kB / 0.792 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5578, allocations: 6.859 kB / 0.792 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.5578, allocations: 3.938 kB / 0.792 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5579, allocations: 3.562 kB / 0.792 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5579, allocations: 0 / 0.792 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.558, allocations: 234.5 kB / 0.7922 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.5581, allocations: 96.23 kB / 0.7923 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.5581, allocations: 4.594 kB / 0.7923 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5582, allocations: 16.09 kB / 0.7923 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.5583, allocations: 22.52 kB / 0.7923 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.5583, allocations: 5.75 kB / 0.7923 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.491e-05/0.5584, allocations: 151.6 kB / 0.7925 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5584, allocations: 0 / 0.7925 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003069/0.5587, allocations: 73.44 kB / 0.7925 GB, free: 43.32 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.000376/0.5591, allocations: 223.6 kB / 0.7928 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.5593, allocations: 100.4 kB / 0.7929 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5593, allocations: 3.844 kB / 0.7929 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.5594, allocations: 53.62 kB / 0.7929 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.5597, allocations: 66.3 kB / 0.793 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.5602, allocations: 312.9 kB / 0.7933 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.5603, allocations: 0.72 MB / 0.794 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.5604, allocations: 26.36 kB / 0.794 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.5605, allocations: 26.86 kB / 0.794 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.5605, allocations: 0 / 0.794 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.00673/0.5672, allocations: 4.16 MB / 0.7981 GB, free: 42.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)