Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.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.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",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.001211/0.001211, allocations: 108 kB / 15.61 MB, free: 152 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.001146/0.001146, allocations: 193 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001645/0.001645, allocations: 64.94 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3643, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004544/0.369, allocations: 1.766 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3705, allocations: 0.5976 MB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.3706, allocations: 0 / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3709, allocations: 35.7 kB / 0.7858 GB, free: 10.98 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.0003874/0.3713, allocations: 107.5 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.3717, allocations: 150.8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.372, allocations: 227.4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3722, allocations: 33.56 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3724, allocations: 103.7 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.3727, allocations: 123.5 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.3727, allocations: 16 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.373, allocations: 115.8 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.3731, allocations: 43.89 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3732, allocations: 91.55 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.3737, allocations: 283.4 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3737, allocations: 0 / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3737, allocations: 0 / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.3737, allocations: 0 / 0.787 GB, free: 9.711 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001173/0.3749, allocations: 0.553 MB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.375, allocations: 8.031 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.3751, allocations: 46.75 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.3752, allocations: 24.69 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.3756, allocations: 243.4 kB / 0.7879 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3756, allocations: 8 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.3757, allocations: 16 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3759, allocations: 105.6 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.376, allocations: 0 / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.376, allocations: 0 / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.376, allocations: 7.938 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3761, allocations: 55.91 kB / 0.7881 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3773, allocations: 472.4 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.3775, allocations: 86.48 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.3776, allocations: 32.84 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3776, allocations: 0 / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.3779, allocations: 91.38 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.378, allocations: 0 / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004299/0.3784, allocations: 145.5 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.3785, allocations: 63.41 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.3788, allocations: 192.2 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.3788, allocations: 33.7 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.379, allocations: 124.4 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.379, allocations: 35.55 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.3791, allocations: 53.69 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3793, allocations: 326.8 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.3794, allocations: 27.98 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3797, allocations: 128.5 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3799, allocations: 113.9 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3799, allocations: 0 / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002663/0.3802, allocations: 152.6 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3802, allocations: 4.219 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3802, allocations: 7.938 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3802, allocations: 3.938 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3803, allocations: 16.16 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.3804, allocations: 11.92 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.3806, allocations: 19.84 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3806, allocations: 8 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001581/0.3807, allocations: 134.5 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3808, allocations: 15.81 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.381, allocations: 135 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3811, allocations: 0 / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3811, allocations: 7.938 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3811, allocations: 4 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.3817, allocations: 462.2 kB / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3817, allocations: 0 / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.3818, allocations: 4 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3818, allocations: 0 / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3818, allocations: 4 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3818, allocations: 4 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.289e-05/0.3818, allocations: 3.984 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3821, allocations: 215.3 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.3822, allocations: 96.91 kB / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.3822, allocations: 7.984 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.3823, allocations: 4 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.3824, allocations: 19.97 kB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3824, allocations: 4 kB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001456/0.3826, allocations: 152.1 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3826, allocations: 0 / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003682/0.3829, allocations: 67.98 kB / 0.7914 GB, free: 4.828 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00114/0.3841, allocations: 0.8858 MB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3844, allocations: 99.89 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3844, allocations: 0 / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.3845, allocations: 43.92 kB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.3849, allocations: 42.92 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.3877, allocations: 1.848 MB / 0.7943 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.3882, allocations: 0.728 MB / 0.795 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.3884, allocations: 37.45 kB / 0.795 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3885, allocations: 55.36 kB / 0.7951 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3885, allocations: 0 / 0.7951 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4197, allocations: 5.562 MB / 0.8005 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.027, allocations: 1.625 kB / 0.8005 GB, free: 11.5 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)