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.001712/0.001712, allocations: 101.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 193.9 kB / 16.64 MB, free: 6.586 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 / 222.5 MB, free: 4.605 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.667/1.667, allocations: 292.3 MB / 0.549 GB, free: 12.73 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: 68.95 kB / 0.6723 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2318, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003005/0.2348, allocations: 1.73 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2363, allocations: 0.9416 MB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.2364, allocations: 0 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.2366, allocations: 35.7 kB / 0.7868 GB, free: 9.977 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.0003595/0.237, allocations: 115.4 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.2374, allocations: 147.7 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.2377, allocations: 243.4 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2378, allocations: 33.67 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2379, allocations: 115.6 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.2382, allocations: 131.6 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.2382, allocations: 23.94 kB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2384, allocations: 135.8 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.2385, allocations: 43.89 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2386, allocations: 91.5 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.239, allocations: 287.2 kB / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.239, allocations: 0 / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.239, allocations: 0 / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.239, allocations: 0 / 0.7881 GB, free: 8.637 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008232/0.2398, allocations: 0.58 MB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2399, allocations: 12.03 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.2399, allocations: 16.75 kB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.2402, allocations: 251.4 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2402, allocations: 15.98 kB / 0.7889 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.2403, allocations: 12 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2405, allocations: 119.3 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2405, allocations: 3.938 kB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2405, allocations: 4 kB / 0.7891 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2405, allocations: 4 kB / 0.7891 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2407, allocations: 47.97 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008341/0.2415, allocations: 0.5512 MB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2417, allocations: 101.2 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.2418, allocations: 41.77 kB / 0.7898 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2418, allocations: 4 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.242, allocations: 117 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.522e-06/0.242, allocations: 0 / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000334/0.2424, allocations: 165.6 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2424, allocations: 81.05 kB / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2426, allocations: 203.6 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.2427, allocations: 37.83 kB / 0.7904 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.2428, allocations: 128.4 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.2428, allocations: 35.55 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.2429, allocations: 57.67 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.243, allocations: 326.8 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.2431, allocations: 31.98 kB / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.2433, allocations: 139.8 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2435, allocations: 121 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2435, allocations: 0 / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002448/0.2437, allocations: 161.3 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2438, allocations: 4 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2438, allocations: 0 / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2438, allocations: 4 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.2439, allocations: 15.94 kB / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2439, allocations: 7.984 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2441, allocations: 28.05 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2442, allocations: 4 kB / 0.7914 GB, free: 4.926 MB / 0.6075 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.0001413/0.2443, allocations: 148.1 kB / 0.7915 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2443, allocations: 15.81 kB / 0.7915 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.2444, allocations: 21.52 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2444, allocations: 96 / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2444, allocations: 7.984 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2444, allocations: 0 / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.245, allocations: 466.2 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2451, allocations: 0 / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.2451, allocations: 7.984 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2451, allocations: 0 / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2451, allocations: 7.938 kB / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.2451, allocations: 7.938 kB / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2451, allocations: 0 / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.2454, allocations: 242.9 kB / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2455, allocations: 88.92 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2455, allocations: 7.938 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2456, allocations: 19.92 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.2457, allocations: 19.97 kB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2457, allocations: 8 kB / 0.7924 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001129/0.2459, allocations: 147.3 kB / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2459, allocations: 0 / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003581/0.2462, allocations: 75.92 kB / 0.7926 GB, free: 3.559 MB / 0.6075 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.0004425/0.2467, allocations: 226 kB / 0.7928 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2469, allocations: 95.91 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2469, allocations: 320 / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.247, allocations: 59.92 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.2475, allocations: 60.03 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.2481, allocations: 312.1 kB / 0.7933 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2484, allocations: 0.7242 MB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.107e-05/0.2485, allocations: 29.52 kB / 0.7941 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.2485, allocations: 35.36 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2485, allocations: 0 / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of Templates: time 0.008076/0.2566, allocations: 4.145 MB / 0.7981 GB, free: 13.89 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)