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.001371/0.001371, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01081/0.01081, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.61/1.61, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005557/0.0005559, allocations: 14.47 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.259, allocations: 116.3 MB / 0.788 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002119/0.2612, allocations: 1.587 MB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2623, allocations: 0.628 MB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.2623, allocations: 4 kB / 0.7902 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2625, allocations: 19.84 kB / 0.7902 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.2628, allocations: 91.67 kB / 0.7903 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2631, allocations: 143.7 kB / 0.7904 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.2633, allocations: 211.5 kB / 0.7906 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2635, allocations: 37.48 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.2636, allocations: 91.67 kB / 0.7907 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03502/0.2986, allocations: 2.418 MB / 0.7931 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.2987, allocations: 12 kB / 0.7931 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2988, allocations: 24 kB / 0.7931 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.2989, allocations: 31.89 kB / 0.7931 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.2991, allocations: 105.2 kB / 0.7932 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2994, allocations: 191.4 kB / 0.7934 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2994, allocations: 0 / 0.7934 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2994, allocations: 3.938 kB / 0.7934 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.2994, allocations: 0 / 0.7934 GB, free: 6.508 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.0007256/0.3001, allocations: 0.4985 MB / 0.7939 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3002, allocations: 8.031 kB / 0.7939 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.3003, allocations: 42.73 kB / 0.794 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.3003, allocations: 20.75 kB / 0.794 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3006, allocations: 243.4 kB / 0.7942 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3006, allocations: 15.98 kB / 0.7942 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.3007, allocations: 12 kB / 0.7942 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3009, allocations: 97.66 kB / 0.7943 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3009, allocations: 0 / 0.7943 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3009, allocations: 4 kB / 0.7943 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3009, allocations: 7.938 kB / 0.7944 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.301, allocations: 51.97 kB / 0.7944 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.3018, allocations: 476.4 kB / 0.7949 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3019, allocations: 78.48 kB / 0.7949 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.302, allocations: 37.06 kB / 0.795 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.302, allocations: 11.88 kB / 0.795 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3022, allocations: 95.27 kB / 0.7951 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3022, allocations: 4 kB / 0.7951 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0002881/0.3025, allocations: 149.5 kB / 0.7952 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3025, allocations: 55.41 kB / 0.7953 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3027, allocations: 192.2 kB / 0.7955 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.3027, allocations: 29.7 kB / 0.7955 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3029, allocations: 124.3 kB / 0.7956 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3029, allocations: 35.55 kB / 0.7956 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3029, allocations: 25.7 kB / 0.7957 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3031, allocations: 326.8 kB / 0.796 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.3031, allocations: 27.98 kB / 0.796 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3034, allocations: 132.5 kB / 0.7961 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3036, allocations: 116.1 kB / 0.7962 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3036, allocations: 0 / 0.7962 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002239/0.3038, allocations: 145.4 kB / 0.7964 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3038, allocations: 4 kB / 0.7964 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3038, allocations: 7.938 kB / 0.7964 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3038, allocations: 0 / 0.7964 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.304, allocations: 19.98 kB / 0.7964 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.304, allocations: 3.984 kB / 0.7964 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.3042, allocations: 31.98 kB / 0.7964 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3043, allocations: 8 kB / 0.7964 GB, free: 3.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.0001608/0.3045, allocations: 131.1 kB / 0.7966 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3045, allocations: 15.81 kB / 0.7966 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3047, allocations: 135 kB / 0.7967 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3047, allocations: 0 / 0.7967 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3047, allocations: 0 / 0.7967 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3047, allocations: 8 kB / 0.7967 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.3053, allocations: 466.2 kB / 0.7972 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3053, allocations: 0 / 0.7972 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.3053, allocations: 12 kB / 0.7972 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3054, allocations: 3.984 kB / 0.7972 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3054, allocations: 4 kB / 0.7972 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3054, allocations: 4 kB / 0.7972 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3054, allocations: 0 / 0.7972 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.3056, allocations: 222.6 kB / 0.7974 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3057, allocations: 100.8 kB / 0.7975 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3057, allocations: 0 / 0.7975 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3058, allocations: 15.98 kB / 0.7975 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3059, allocations: 15.98 kB / 0.7975 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.3059, allocations: 11.92 kB / 0.7975 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001159/0.306, allocations: 140.2 kB / 0.7977 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.306, allocations: 0 / 0.7977 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002918/0.3063, allocations: 43.98 kB / 0.7977 GB, free: 1.719 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.0007269/0.3071, allocations: 0.8034 MB / 0.7985 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3073, allocations: 95.97 kB / 0.7986 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3073, allocations: 0 / 0.7986 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3074, allocations: 47.91 kB / 0.7986 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3078, allocations: 39.95 kB / 0.7987 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3098, allocations: 1.889 MB / 0.8005 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3101, allocations: 0.7205 MB / 0.8012 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.3102, allocations: 25.47 kB / 0.8012 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3103, allocations: 47.42 kB / 0.8013 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3103, allocations: 0 / 0.8013 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.325, allocations: 4.652 MB / 0.8058 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.3252, allocations: 238.9 kB / 0.8061 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.149, allocations: 3.938 kB / 0.8061 GB, free: 9.145 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)