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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.00113/0.00113, 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.001271/0.001272, allocations: 186.4 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.728/1.728, 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.001657/0.001657, allocations: 75.38 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2263, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003138/0.2295, allocations: 1.729 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.231, allocations: 0.9416 MB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2312, allocations: 3.938 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.2314, allocations: 31.72 kB / 0.7863 GB, free: 10.53 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.0004697/0.2319, allocations: 111.5 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.2324, allocations: 154.6 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.2327, allocations: 247.3 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2329, allocations: 25.97 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.233, allocations: 111.7 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.2333, allocations: 135.5 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.2333, allocations: 16 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.2336, allocations: 143.8 kB / 0.7872 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.2337, allocations: 39.84 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2338, allocations: 99.47 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.2342, allocations: 283.2 kB / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.2342, allocations: 0 / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2343, allocations: 7.875 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2343, allocations: 0 / 0.7876 GB, free: 9.188 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009083/0.2352, allocations: 0.5723 MB / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2352, allocations: 8.031 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2353, allocations: 38.75 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.2353, allocations: 24.73 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2356, allocations: 251.2 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2356, allocations: 12 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2357, allocations: 15.98 kB / 0.7885 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2359, allocations: 96.19 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2359, allocations: 0 / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2359, allocations: 0 / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2359, allocations: 11.94 kB / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.236, allocations: 51.97 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.2368, allocations: 456.4 kB / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.2372, allocations: 142.7 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.2373, allocations: 32.84 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2373, allocations: 7.984 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.2376, allocations: 111.3 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2376, allocations: 0 / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000359/0.238, allocations: 173.2 kB / 0.7895 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.2381, allocations: 55.41 kB / 0.7896 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2383, allocations: 191.8 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.2383, allocations: 33.7 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.2384, allocations: 120.4 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.2385, allocations: 35.61 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.2386, allocations: 57.67 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2387, allocations: 330.8 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.2388, allocations: 35.98 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.239, allocations: 126.1 kB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.2391, allocations: 102.8 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2391, allocations: 3.938 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002297/0.2394, allocations: 153.3 kB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2394, allocations: 8 kB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2394, allocations: 8.109 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2394, allocations: 4 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.2395, allocations: 19.94 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2395, allocations: 0 / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2397, allocations: 27.83 kB / 0.7908 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2398, allocations: 7.938 kB / 0.7908 GB, free: 5.633 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: 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.0001444/0.2399, allocations: 148.1 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.2399, allocations: 15.81 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.24, allocations: 29.89 kB / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.24, allocations: 0 / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.24, allocations: 0 / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.24, allocations: 0 / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.2407, allocations: 0.4893 MB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2407, allocations: 0 / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.2408, allocations: 8 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2408, allocations: 0 / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2408, allocations: 11.94 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.2408, allocations: 4 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2408, allocations: 0 / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.241, allocations: 227.3 kB / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.2411, allocations: 92.86 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2411, allocations: 7.938 kB / 0.7918 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2413, allocations: 15.97 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.2414, allocations: 19.98 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2414, allocations: 15.98 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000127/0.2415, allocations: 139.3 kB / 0.7919 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2415, allocations: 0 / 0.7919 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003588/0.2419, allocations: 71.98 kB / 0.792 GB, free: 4.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: 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.0009044/0.2428, allocations: 0.9004 MB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.243, allocations: 103.8 kB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.243, allocations: 0 / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.2432, allocations: 58.81 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.0004201/0.2436, allocations: 66.41 kB / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.2457, allocations: 1.907 MB / 0.795 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2461, allocations: 0.7281 MB / 0.7957 GB, free: 388 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.573e-05/0.2462, allocations: 25.53 kB / 0.7957 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.2463, allocations: 55.41 kB / 0.7958 GB, free: 312 kB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.2463, allocations: 0 / 0.7958 GB, free: 312 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2689, allocations: 6.066 MB / 0.8017 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.508, allocations: 10.5 kB / 0.8017 GB, free: 10.4 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)