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.001143/0.001142, 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.001191/0.001191, allocations: 187.9 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001577/0.001577, allocations: 71.05 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2491, allocations: 114.6 MB / 0.7836 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003288/0.2525, allocations: 1.781 MB / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2536, allocations: 0.5938 MB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.2537, allocations: 4 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.2539, allocations: 27.73 kB / 0.786 GB, free: 10.89 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.0003661/0.2543, allocations: 115.4 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.2546, allocations: 146.3 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.2549, allocations: 231.3 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2551, allocations: 41.53 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.2552, allocations: 99.73 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2554, allocations: 127.5 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.2554, allocations: 16 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.2557, allocations: 131.8 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.2557, allocations: 43.91 kB / 0.7869 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2558, allocations: 83.56 kB / 0.787 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.2562, allocations: 287.4 kB / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2562, allocations: 4 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2562, allocations: 0 / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2562, allocations: 0 / 0.7872 GB, free: 9.594 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.0008264/0.2571, allocations: 0.5568 MB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.2571, allocations: 8.031 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.2572, allocations: 42.73 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.2573, allocations: 20.75 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.2577, allocations: 247.5 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2577, allocations: 12 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.2578, allocations: 16 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.258, allocations: 93.59 kB / 0.7882 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.258, allocations: 3.984 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2581, allocations: 4 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2581, allocations: 7.938 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2582, allocations: 55.95 kB / 0.7883 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2593, allocations: 472.3 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2595, allocations: 78.55 kB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.2595, allocations: 24.86 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.2596, allocations: 4 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.2598, allocations: 99.3 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2599, allocations: 0 / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004044/0.2603, allocations: 149.6 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.2603, allocations: 55.41 kB / 0.7891 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.2606, allocations: 192 kB / 0.7893 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.2606, allocations: 37.69 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2608, allocations: 120.6 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.2608, allocations: 31.55 kB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2609, allocations: 65.61 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2611, allocations: 326.8 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.2612, allocations: 27.98 kB / 0.7899 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.2614, allocations: 140.4 kB / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2616, allocations: 106.3 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2616, allocations: 4 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002721/0.2619, allocations: 151.2 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2619, allocations: 4 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2619, allocations: 7.922 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.262, allocations: 4 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2621, allocations: 19.94 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2621, allocations: 4 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2623, allocations: 19.83 kB / 0.7903 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2623, allocations: 12 kB / 0.7903 GB, free: 6.129 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.0001614/0.2625, allocations: 137.9 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.2625, allocations: 15.81 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2628, allocations: 123.1 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2628, allocations: 0 / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2628, allocations: 0 / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2628, allocations: 3.984 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.2635, allocations: 466.2 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2635, allocations: 0 / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2635, allocations: 11.94 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2635, allocations: 0 / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.2636, allocations: 8 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2636, allocations: 0 / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2636, allocations: 0 / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2639, allocations: 218.6 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.264, allocations: 88.92 kB / 0.7914 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.264, allocations: 4 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2641, allocations: 15.92 kB / 0.7914 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2643, allocations: 15.98 kB / 0.7914 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.2643, allocations: 7.984 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000152/0.2644, allocations: 140.2 kB / 0.7915 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2645, allocations: 0 / 0.7915 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004702/0.2649, allocations: 67.98 kB / 0.7916 GB, free: 4.723 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.001135/0.2661, allocations: 0.8899 MB / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.2664, allocations: 91.34 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2664, allocations: 0 / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.2665, allocations: 39.98 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.267, allocations: 59.31 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.2696, allocations: 1.857 MB / 0.7945 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2699, allocations: 0.7202 MB / 0.7952 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.302e-05/0.27, allocations: 21.53 kB / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.089e-05/0.2701, allocations: 59.41 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2701, allocations: 0 / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.2964, allocations: 5.572 MB / 0.8007 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.037, allocations: 11.42 kB / 0.8007 GB, free: 11.39 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)