Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 174.7 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000781/0.0007809, allocations: 99.89 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8.438 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001766/0.1689, allocations: 1.571 MB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1702, allocations: 0.9986 MB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.1703, allocations: 0 / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1706, allocations: 19.86 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1709, allocations: 95.59 kB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1712, allocations: 147.7 kB / 0.8989 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1714, allocations: 219.4 kB / 0.8992 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1715, allocations: 37.66 kB / 0.8992 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1717, allocations: 99.62 kB / 0.8993 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05951/0.2312, allocations: 3.313 MB / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.2313, allocations: 8 kB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.2314, allocations: 28 kB / 0.9026 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.2315, allocations: 31.84 kB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.2316, allocations: 79.55 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2318, allocations: 207.3 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2318, allocations: 0 / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2318, allocations: 4 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2318, allocations: 3.938 kB / 0.9029 GB, free: 62.05 MB / 0.6042 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.0006586/0.2325, allocations: 0.5111 MB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2325, allocations: 8.031 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.2326, allocations: 42.73 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.2327, allocations: 20.75 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2329, allocations: 247.2 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2329, allocations: 16 kB / 0.9037 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2329, allocations: 16 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2331, allocations: 93.61 kB / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2331, allocations: 0 / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2331, allocations: 7.984 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2332, allocations: 3.938 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2333, allocations: 51.97 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.234, allocations: 472.4 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.2345, allocations: 150.7 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.2346, allocations: 36.84 kB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2346, allocations: 4 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.2348, allocations: 119.2 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.2348, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0003351/0.2351, allocations: 166.8 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2352, allocations: 59.39 kB / 0.9048 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2353, allocations: 194.6 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2354, allocations: 37.7 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.2354, allocations: 120.5 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.2355, allocations: 39.45 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.2355, allocations: 33.64 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.2356, allocations: 326.8 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.2356, allocations: 31.98 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2359, allocations: 130.8 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.236, allocations: 104.2 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.236, allocations: 0 / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00023/0.2362, allocations: 157.3 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2363, allocations: 4 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2363, allocations: 4 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2363, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.2364, allocations: 19.92 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2364, allocations: 4 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.2366, allocations: 31.83 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2366, allocations: 8.125 kB / 0.906 GB, free: 58.54 MB / 0.6042 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.0001056/0.2368, allocations: 143.5 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.2368, allocations: 19.8 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.2368, allocations: 17.88 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2369, allocations: 0 / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2369, allocations: 0 / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2369, allocations: 0 / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.2375, allocations: 0.5043 MB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2375, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.2375, allocations: 4 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2375, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2375, allocations: 4 kB / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2376, allocations: 15.86 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2376, allocations: 0 / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.2378, allocations: 227.2 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.2378, allocations: 100.8 kB / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2378, allocations: 0 / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.238, allocations: 31.92 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.2381, allocations: 15.97 kB / 0.9071 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.2381, allocations: 12 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.622e-05/0.2382, allocations: 144.2 kB / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2382, allocations: 0 / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003599/0.2386, allocations: 51.89 kB / 0.9073 GB, free: 57.17 MB / 0.6042 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.0004802/0.2391, allocations: 0.815 MB / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2392, allocations: 110.5 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2393, allocations: 0 / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.2393, allocations: 51.92 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.2397, allocations: 67.75 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2412, allocations: 1.933 MB / 0.9102 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2413, allocations: 0.7245 MB / 0.9109 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.2414, allocations: 25.48 kB / 0.9109 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.2415, allocations: 55.41 kB / 0.9109 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2415, allocations: 0 / 0.9109 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.255, allocations: 5.081 MB / 0.9159 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.2552, allocations: 275.2 kB / 0.9162 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.99, allocations: 64 / 0.9162 GB, free: 47.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)