Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",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.0007645/0.0007646, allocations: 98.27 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.005153/0.005153, allocations: 170.6 kB / 16.27 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.368/1.368, 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.637/1.637, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005818/0.0005819, allocations: 15.72 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001986/0.2317, allocations: 1.571 MB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.233, allocations: 0.6666 MB / 0.7902 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.2331, allocations: 3.938 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.2333, allocations: 15.86 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.2336, allocations: 95.66 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2339, allocations: 148.8 kB / 0.7904 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.2342, allocations: 223.5 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2343, allocations: 33.67 kB / 0.7907 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2345, allocations: 95.61 kB / 0.7908 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03811/0.2726, allocations: 2.646 MB / 0.7933 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.2727, allocations: 8 kB / 0.7934 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2728, allocations: 23.98 kB / 0.7934 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.2729, allocations: 39.78 kB / 0.7934 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2731, allocations: 105.3 kB / 0.7935 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.2734, allocations: 203.3 kB / 0.7937 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2735, allocations: 0 / 0.7937 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2735, allocations: 0 / 0.7937 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2735, allocations: 0 / 0.7937 GB, free: 6.25 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007439/0.2742, allocations: 0.5254 MB / 0.7942 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2743, allocations: 8.031 kB / 0.7942 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.2743, allocations: 42.75 kB / 0.7943 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.2744, allocations: 24.73 kB / 0.7943 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.2748, allocations: 248.1 kB / 0.7945 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2748, allocations: 8.375 kB / 0.7945 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.2748, allocations: 23.88 kB / 0.7946 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.275, allocations: 113.5 kB / 0.7947 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.275, allocations: 3.938 kB / 0.7947 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2751, allocations: 4 kB / 0.7947 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2751, allocations: 4 kB / 0.7947 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2752, allocations: 59.95 kB / 0.7947 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.276, allocations: 492.2 kB / 0.7952 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2763, allocations: 118.6 kB / 0.7953 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.2764, allocations: 32.89 kB / 0.7954 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2764, allocations: 7.984 kB / 0.7954 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.2766, allocations: 102.9 kB / 0.7955 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.2766, allocations: 0 / 0.7955 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003399/0.2769, allocations: 173.3 kB / 0.7956 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.277, allocations: 67.33 kB / 0.7957 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.2772, allocations: 203.6 kB / 0.7959 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.2772, allocations: 33.7 kB / 0.7959 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.2773, allocations: 124.5 kB / 0.796 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2774, allocations: 39.44 kB / 0.7961 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.2774, allocations: 33.7 kB / 0.7961 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.2775, allocations: 326.8 kB / 0.7964 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2777, allocations: 63.95 kB / 0.7965 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.2779, allocations: 134.1 kB / 0.7966 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.2782, allocations: 219.9 kB / 0.7968 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2782, allocations: 4 kB / 0.7968 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005636/0.2788, allocations: 316.6 kB / 0.7971 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.2788, allocations: 75.31 kB / 0.7972 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2789, allocations: 0 / 0.7972 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.2789, allocations: 4 kB / 0.7972 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.279, allocations: 16.09 kB / 0.7972 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.279, allocations: 8 kB / 0.7972 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2792, allocations: 27.83 kB / 0.7972 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2792, allocations: 19.98 kB / 0.7973 GB, free: 2.277 MB / 0.6075 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001343/0.2794, allocations: 144 kB / 0.7974 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.2794, allocations: 23.69 kB / 0.7974 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.2797, allocations: 155.3 kB / 0.7976 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2797, allocations: 4 kB / 0.7976 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2797, allocations: 4 kB / 0.7976 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2797, allocations: 0 / 0.7976 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.2803, allocations: 490.1 kB / 0.798 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2803, allocations: 0 / 0.798 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.2804, allocations: 15.94 kB / 0.7981 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2804, allocations: 4 kB / 0.7981 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2804, allocations: 0 / 0.7981 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2804, allocations: 4 kB / 0.7981 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2804, allocations: 7.969 kB / 0.7981 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.2807, allocations: 233.9 kB / 0.7983 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2807, allocations: 100.9 kB / 0.7984 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2808, allocations: 7.984 kB / 0.7984 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2809, allocations: 16 kB / 0.7984 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.2809, allocations: 15.97 kB / 0.7984 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.281, allocations: 8 kB / 0.7984 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001197/0.2811, allocations: 141.5 kB / 0.7986 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2811, allocations: 0 / 0.7986 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000309/0.2814, allocations: 55.89 kB / 0.7986 GB, free: 0.7734 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006727/0.2821, allocations: 0.8342 MB / 0.7994 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.2825, allocations: 250.6 kB / 0.7997 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2825, allocations: 0 / 0.7997 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.2826, allocations: 55.44 kB / 0.7997 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.283, allocations: 62.52 kB / 0.7998 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.2859, allocations: 2.287 MB / 0.802 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2862, allocations: 0.7245 MB / 0.8027 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.681e-05/0.2863, allocations: 29.92 kB / 0.8028 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.2864, allocations: 59.41 kB / 0.8028 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.2864, allocations: 0 / 0.8028 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.387/3.673, allocations: 5.01 MB / 0.8077 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/3.674, allocations: 239.6 kB / 0.8079 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/5.718, allocations: 3.938 kB / 0.8079 GB, free: 7.188 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)