Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109.4 kB / 15.69 MB, free: 128 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.001751/0.001751, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.789/1.789, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001505/0.001505, allocations: 76.17 kB / 0.6718 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2275, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002894/0.2304, allocations: 1.636 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.2314, allocations: 0.5627 MB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.2315, allocations: 3.938 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.2317, allocations: 23.78 kB / 0.7858 GB, free: 11 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.0003281/0.232, allocations: 119.4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.2323, allocations: 143.7 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.2326, allocations: 215.5 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2327, allocations: 21.55 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2328, allocations: 111.6 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.233, allocations: 111.6 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.233, allocations: 16 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2332, allocations: 139.8 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.2333, allocations: 31.91 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.2334, allocations: 83.56 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.2337, allocations: 271.5 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2338, allocations: 4 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2338, allocations: 0 / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2338, allocations: 0 / 0.787 GB, free: 9.762 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000718/0.2345, allocations: 0.545 MB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2345, allocations: 12.03 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.2346, allocations: 34.75 kB / 0.7876 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.2346, allocations: 24.73 kB / 0.7876 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2349, allocations: 231.8 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2349, allocations: 12 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.235, allocations: 12 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.2351, allocations: 81.66 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2351, allocations: 4 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2352, allocations: 3.938 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2352, allocations: 0 / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.2353, allocations: 51.84 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.236, allocations: 436.5 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.2361, allocations: 70.5 kB / 0.7885 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.2362, allocations: 32.84 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2362, allocations: 0 / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.2364, allocations: 91.22 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2364, allocations: 0 / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000269/0.2366, allocations: 133.6 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2367, allocations: 63.39 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2369, allocations: 191 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2369, allocations: 33.7 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.237, allocations: 116 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.237, allocations: 31.62 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.2371, allocations: 49.69 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2372, allocations: 322.8 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.2373, allocations: 31.98 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.2375, allocations: 123.6 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2376, allocations: 90.67 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2376, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000198/0.2378, allocations: 133.4 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2378, allocations: 11.94 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2378, allocations: 0 / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2379, allocations: 3.984 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.2379, allocations: 15.94 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2379, allocations: 0 / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2381, allocations: 24.11 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2381, allocations: 4 kB / 0.7899 GB, free: 6.5 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001025/0.2383, allocations: 125.8 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.2383, allocations: 19.75 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.2383, allocations: 17.39 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2383, allocations: 7.938 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2383, allocations: 0 / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2384, allocations: 0 / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.2388, allocations: 438.2 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2388, allocations: 3.938 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.2388, allocations: 4 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2389, allocations: 0 / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2389, allocations: 4.047 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2389, allocations: 4 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.2389, allocations: 7.969 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2391, allocations: 207.2 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2391, allocations: 88.92 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2391, allocations: 4 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.2392, allocations: 7.984 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.2393, allocations: 15.98 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.2393, allocations: 7.938 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001079/0.2394, allocations: 134.3 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2394, allocations: 4 kB / 0.791 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003137/0.2398, allocations: 63.98 kB / 0.791 GB, free: 5.254 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007589/0.2405, allocations: 0.8822 MB / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2407, allocations: 79.84 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2407, allocations: 256 / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.2408, allocations: 43.92 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2412, allocations: 50.19 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.2429, allocations: 1.789 MB / 0.7938 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2432, allocations: 0.7124 MB / 0.7945 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.549e-05/0.2433, allocations: 21.53 kB / 0.7945 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.2434, allocations: 51.41 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2434, allocations: 7.938 kB / 0.7946 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2667, allocations: 5.481 MB / 0.7999 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.5, allocations: 26.38 kB / 0.7999 GB, free: 12.15 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)