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.001452/0.001458, 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.00101/0.00101, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.553/1.553, 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.667/1.667, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001406/0.001406, allocations: 68.19 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2551, 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.003464/0.2586, allocations: 1.767 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2598, allocations: 0.5937 MB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.26, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2602, allocations: 27.73 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.000455/0.2607, allocations: 115.5 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.2611, allocations: 150.3 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.2614, allocations: 227.4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2616, allocations: 33.55 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.2617, allocations: 107.7 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.262, allocations: 123.5 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.262, allocations: 16 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.2623, allocations: 115.9 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.2624, allocations: 35.91 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2625, allocations: 91.56 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.263, allocations: 283.4 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.263, allocations: 4 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.263, allocations: 0 / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.263, allocations: 0 / 0.787 GB, free: 9.707 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.001013/0.264, allocations: 0.5569 MB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.2641, allocations: 12.03 kB / 0.7876 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.2641, allocations: 38.73 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.2642, allocations: 20.75 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2646, allocations: 255.4 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2646, allocations: 11.94 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.2647, allocations: 12 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.2649, allocations: 97.64 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2649, allocations: 0 / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2649, allocations: 4 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2649, allocations: 3.938 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2651, allocations: 55.91 kB / 0.7881 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/0.2661, allocations: 472.4 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.2663, allocations: 78.48 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.2663, allocations: 32.86 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.2664, allocations: 3.984 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.2667, allocations: 95.36 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.2667, allocations: 0 / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004341/0.2672, allocations: 152.5 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.2673, allocations: 59.41 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.2675, allocations: 184.2 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2676, allocations: 41.69 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2677, allocations: 120.4 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.2677, allocations: 31.56 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2679, allocations: 57.67 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2681, allocations: 326.8 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.2681, allocations: 27.98 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.2684, allocations: 135.2 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.2686, allocations: 109 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2686, allocations: 224 / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.2689, allocations: 145.4 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2689, allocations: 11.92 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.269, allocations: 7.938 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.269, allocations: 0 / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2691, allocations: 19.94 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2691, allocations: 0 / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.2693, allocations: 31.98 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2694, allocations: 4 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.0001663/0.2695, allocations: 134.5 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.2696, allocations: 19.75 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.2698, allocations: 134.4 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2699, allocations: 4 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2699, allocations: 3.984 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2699, allocations: 0 / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.2705, allocations: 466.2 kB / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2705, allocations: 4 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.2705, allocations: 8 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2706, allocations: 0 / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2706, allocations: 0 / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2706, allocations: 0 / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2706, allocations: 0 / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2709, allocations: 227.2 kB / 0.7911 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.2709, allocations: 88.92 kB / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.271, allocations: 0 / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.2711, allocations: 11.98 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.2712, allocations: 11.98 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.2712, allocations: 15.98 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001353/0.2713, allocations: 136.2 kB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2714, allocations: 0 / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004091/0.2718, allocations: 75.98 kB / 0.7914 GB, free: 4.832 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.00115/0.2729, allocations: 0.8912 MB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2732, allocations: 96.16 kB / 0.7924 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2732, allocations: 8 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.2733, allocations: 43.97 kB / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.2738, allocations: 42.78 kB / 0.7925 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.2763, allocations: 1.863 MB / 0.7943 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2766, allocations: 0.7202 MB / 0.795 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.279e-05/0.2767, allocations: 25.48 kB / 0.795 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.2768, allocations: 51.41 kB / 0.7951 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.2768, allocations: 0 / 0.7951 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.3027, allocations: 5.563 MB / 0.8005 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.737, allocations: 2.969 kB / 0.8005 GB, free: 11.51 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)