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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 180.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008957/0.0008955, allocations: 83.64 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.082e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7593, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.977, allocations: 142.3 MB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.9773, allocations: 81.73 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03518/1.012, allocations: 13.25 MB / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/1.013, allocations: 0 / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.541e-05/1.013, allocations: 4 kB / 1.125 GB, free: 10.54 MB / 0.7292 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.0008117/1.013, allocations: 0.5355 MB / 1.126 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.013, allocations: 8.031 kB / 1.126 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/1.014, allocations: 19.81 kB / 1.126 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/1.014, allocations: 254.7 kB / 1.126 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.014, allocations: 4 kB / 1.126 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/1.014, allocations: 11.98 kB / 1.126 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001408/1.014, allocations: 47.09 kB / 1.126 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/1.015, allocations: 109.4 kB / 1.126 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.015, allocations: 0 / 1.126 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.015, allocations: 3.938 kB / 1.126 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/1.015, allocations: 0 / 1.126 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/1.015, allocations: 0.509 MB / 1.127 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/1.016, allocations: 97.08 kB / 1.127 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/1.016, allocations: 33.78 kB / 1.127 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/1.016, allocations: 0 / 1.127 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/1.016, allocations: 125.2 kB / 1.127 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/1.016, allocations: 0 / 1.127 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.000279/1.016, allocations: 113.5 kB / 1.127 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/1.016, allocations: 85.09 kB / 1.127 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/1.016, allocations: 181.5 kB / 1.127 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/1.017, allocations: 29.64 kB / 1.127 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/1.017, allocations: 120.5 kB / 1.127 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/1.017, allocations: 35.53 kB / 1.128 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/1.017, allocations: 3.938 kB / 1.128 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.017, allocations: 334.8 kB / 1.128 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/1.017, allocations: 32.38 kB / 1.128 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.017, allocations: 114.4 kB / 1.128 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/1.017, allocations: 39.98 kB / 1.128 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.017, allocations: 3.938 kB / 1.128 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002105/1.017, allocations: 134.8 kB / 1.128 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.017, allocations: 8 kB / 1.128 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/1.017, allocations: 4.156 kB / 1.128 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.017, allocations: 4 kB / 1.128 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/1.018, allocations: 22.34 kB / 1.128 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.018, allocations: 4 kB / 1.128 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/1.018, allocations: 23.88 kB / 1.128 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/1.018, allocations: 15.94 kB / 1.128 GB, free: 7.242 MB / 0.7292 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.018, allocations: 122.7 kB / 1.128 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001701/1.018, allocations: 111.4 kB / 1.128 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/1.018, allocations: 15.81 kB / 1.128 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/1.018, allocations: 21.95 kB / 1.128 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.018, allocations: 4 kB / 1.128 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.018, allocations: 3.953 kB / 1.128 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.018, allocations: 0 / 1.128 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/1.019, allocations: 429.5 kB / 1.129 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.019, allocations: 0 / 1.129 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/1.019, allocations: 8 kB / 1.129 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.019, allocations: 0 / 1.129 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.019, allocations: 3.953 kB / 1.129 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.019, allocations: 4 kB / 1.129 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.019, allocations: 0 / 1.129 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/1.019, allocations: 239.3 kB / 1.129 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/1.019, allocations: 92.92 kB / 1.129 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/1.019, allocations: 7.938 kB / 1.129 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/1.019, allocations: 15.98 kB / 1.129 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/1.019, allocations: 23.97 kB / 1.129 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.02, allocations: 8 kB / 1.129 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001063/1.02, allocations: 136.2 kB / 1.129 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.02, allocations: 0 / 1.129 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003222/1.02, allocations: 45.7 kB / 1.129 GB, free: 5.883 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008189/1.021, allocations: 0.9059 MB / 1.13 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002105/1.021, allocations: 83.94 kB / 1.13 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.021, allocations: 0 / 1.13 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/1.021, allocations: 48.67 kB / 1.13 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/1.021, allocations: 44.34 kB / 1.131 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/1.022, allocations: 248.4 kB / 1.131 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/1.022, allocations: 0.7253 MB / 1.131 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.508e-05/1.023, allocations: 29.22 kB / 1.131 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.023, allocations: 51.41 kB / 1.132 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.023, allocations: 0 / 1.132 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/1.048, allocations: 4.522 MB / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/1.049, allocations: 198 kB / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.819, allocations: 0 / 1.136 GB, free: 15.03 MB / 0.7448 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/linux/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)