Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001262/0.001262, 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.001273/0.001272, allocations: 189.5 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.755/1.755, 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.002415/0.002415, allocations: 66.84 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2526, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003542/0.2562, allocations: 1.745 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2582, allocations: 0.9416 MB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2583, allocations: 0 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2586, allocations: 35.66 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.0005319/0.2591, allocations: 115.4 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.2596, allocations: 150.1 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.26, allocations: 243.3 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2602, allocations: 33.95 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.2603, allocations: 111.7 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2606, allocations: 131.5 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.2607, allocations: 16 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.2609, allocations: 143.8 kB / 0.7872 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.261, allocations: 39.84 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.2611, allocations: 107.5 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.2616, allocations: 283.2 kB / 0.7876 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2616, allocations: 0 / 0.7876 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2616, allocations: 0 / 0.7876 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.2616, allocations: 0 / 0.7876 GB, free: 9.191 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.0008892/0.2625, allocations: 0.5722 MB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2625, allocations: 16.03 kB / 0.7881 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.2626, allocations: 34.75 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.2627, allocations: 24.73 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.263, allocations: 247.2 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2631, allocations: 12 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.2631, allocations: 15.98 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.2633, allocations: 96.36 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2633, allocations: 3.938 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2633, allocations: 0 / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2634, allocations: 4 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2635, allocations: 55.97 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.2643, allocations: 456.4 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.2647, allocations: 142.7 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.2648, allocations: 36.84 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2648, allocations: 7.984 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.265, allocations: 105.5 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.265, allocations: 4 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003431/0.2654, allocations: 173.2 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.2654, allocations: 55.41 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2656, allocations: 187.8 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.2657, allocations: 37.69 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.2658, allocations: 120.4 kB / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.2658, allocations: 35.61 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.2659, allocations: 53.67 kB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.266, allocations: 338.8 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.2661, allocations: 31.98 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2663, allocations: 126.1 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.2665, allocations: 102.8 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2665, allocations: 4 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002367/0.2667, allocations: 153.3 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2668, allocations: 11.94 kB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.2668, allocations: 3.984 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2668, allocations: 8.125 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.2669, allocations: 15.94 kB / 0.7907 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2669, allocations: 7.922 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.2671, allocations: 27.83 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2671, allocations: 4 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.0001461/0.2673, allocations: 148.1 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2673, allocations: 15.81 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.2673, allocations: 21.86 kB / 0.7909 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2673, allocations: 8 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2674, allocations: 48 / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2674, allocations: 3.984 kB / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.268, allocations: 497.3 kB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.268, allocations: 3.984 kB / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.2681, allocations: 8 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2681, allocations: 0 / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2681, allocations: 7.938 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.2681, allocations: 4 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2681, allocations: 0 / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2683, allocations: 227.3 kB / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.2684, allocations: 96.86 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2684, allocations: 3.938 kB / 0.7918 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2686, allocations: 19.97 kB / 0.7918 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2687, allocations: 19.98 kB / 0.7918 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.2687, allocations: 11.98 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001213/0.2688, allocations: 139.3 kB / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2688, allocations: 0 / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003497/0.2692, allocations: 75.98 kB / 0.792 GB, free: 4.25 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.0008487/0.27, allocations: 0.891 MB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2703, allocations: 106.6 kB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.2703, allocations: 0 / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.2704, allocations: 55.86 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.0004001/0.2708, allocations: 68.14 kB / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.2727, allocations: 1.887 MB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.273, allocations: 0.7242 MB / 0.7957 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.2731, allocations: 25.53 kB / 0.7957 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.2732, allocations: 55.41 kB / 0.7957 GB, free: 340 kB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2732, allocations: 0 / 0.7957 GB, free: 340 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.2958, allocations: 6.074 MB / 0.8017 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.622, allocations: 3.938 kB / 0.8017 GB, free: 10.43 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)