Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001553/0.001552, 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.00184/0.001841, allocations: 188 kB / 16.62 MB, free: 6.582 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.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00243/0.00243, allocations: 67.44 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2439, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003154/0.2471, allocations: 1.753 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2488, allocations: 0.9377 MB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.2489, allocations: 4 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.2491, allocations: 23.72 kB / 0.7863 GB, free: 10.54 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.0004794/0.2496, allocations: 119.4 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.25, allocations: 154.7 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.2504, allocations: 239.3 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2505, allocations: 41.67 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2507, allocations: 111.7 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2509, allocations: 127.5 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.251, allocations: 20 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.2512, allocations: 131.8 kB / 0.7872 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.2513, allocations: 51.75 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2514, allocations: 87.58 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.2517, allocations: 303.3 kB / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2517, allocations: 0 / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2518, allocations: 0 / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2518, allocations: 0 / 0.7876 GB, free: 9.18 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.0007972/0.2526, allocations: 0.5722 MB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2526, allocations: 8.031 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.2527, allocations: 50.73 kB / 0.7882 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.2527, allocations: 20.75 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.253, allocations: 247.2 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.253, allocations: 12 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.253, allocations: 8 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2532, allocations: 117.9 kB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2533, allocations: 0 / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2533, allocations: 4 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2533, allocations: 4 kB / 0.7886 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2534, allocations: 59.89 kB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.2542, allocations: 0.5434 MB / 0.7892 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2544, allocations: 97.33 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.2545, allocations: 45.7 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2545, allocations: 3.938 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.2548, allocations: 121.1 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.2548, allocations: 0 / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000334/0.2551, allocations: 161.6 kB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2552, allocations: 81.11 kB / 0.7897 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2554, allocations: 199.6 kB / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.2554, allocations: 33.7 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.2555, allocations: 128.5 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.2555, allocations: 31.55 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.2556, allocations: 65.8 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2558, allocations: 330.8 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.2558, allocations: 35.98 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.256, allocations: 139.7 kB / 0.7906 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2562, allocations: 117.2 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2562, allocations: 0 / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002264/0.2564, allocations: 157.3 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2564, allocations: 10.66 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2565, allocations: 3.984 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2565, allocations: 4 kB / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.2566, allocations: 15.94 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.2566, allocations: 0 / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2568, allocations: 31.77 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2568, allocations: 11.98 kB / 0.7909 GB, free: 5.426 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.0001185/0.2569, allocations: 144.3 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.257, allocations: 15.81 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.257, allocations: 21.52 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.257, allocations: 4 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.257, allocations: 0 / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.257, allocations: 0 / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.2576, allocations: 466.2 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2576, allocations: 4 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.2576, allocations: 4 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2576, allocations: 0 / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2576, allocations: 11.94 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2576, allocations: 3.984 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2576, allocations: 0 / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.2579, allocations: 235.3 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.2579, allocations: 100.9 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.258, allocations: 7.938 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2581, allocations: 15.98 kB / 0.7919 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.2582, allocations: 19.97 kB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2582, allocations: 4 kB / 0.7919 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000118/0.2583, allocations: 147.3 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2583, allocations: 3.938 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003307/0.2587, allocations: 75.92 kB / 0.7922 GB, free: 4.066 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.0007855/0.2594, allocations: 0.8973 MB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.2597, allocations: 100 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2597, allocations: 4.125 kB / 0.7931 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.2598, allocations: 51.98 kB / 0.7932 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.2602, allocations: 57.09 kB / 0.7932 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.262, allocations: 1.934 MB / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2623, allocations: 0.7242 MB / 0.7958 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.624e-05/0.2624, allocations: 25.53 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.2624, allocations: 51.42 kB / 0.7959 GB, free: 96 kB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2625, allocations: 4 kB / 0.7959 GB, free: 92 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.2823, allocations: 6.018 MB / 0.8018 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.664, allocations: 15.69 kB / 0.8018 GB, free: 10.23 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)