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.001518/0.001518, 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.001775/0.001775, allocations: 190 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.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.753/1.753, 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.001495/0.001495, allocations: 71.17 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2405, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003717/0.2442, allocations: 1.77 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2455, allocations: 0.6207 MB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2457, allocations: 3.938 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.246, allocations: 27.73 kB / 0.786 GB, free: 10.83 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.0004614/0.2464, allocations: 115.4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.2469, allocations: 158.7 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.2472, allocations: 239.4 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2474, allocations: 37.66 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2475, allocations: 111.7 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2478, allocations: 123.5 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.2478, allocations: 16 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.248, allocations: 139.8 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.2481, allocations: 43.77 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2482, allocations: 95.5 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.2486, allocations: 299.4 kB / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2486, allocations: 0 / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2486, allocations: 0 / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2487, allocations: 0 / 0.7873 GB, free: 9.48 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.0008812/0.2495, allocations: 0.5782 MB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2496, allocations: 12.03 kB / 0.7879 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.2496, allocations: 46.73 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/0.2497, allocations: 20.75 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.2501, allocations: 248.1 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2501, allocations: 16.31 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.2501, allocations: 19.94 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2504, allocations: 109.4 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2504, allocations: 0 / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2504, allocations: 11.94 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2504, allocations: 0 / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.2506, allocations: 59.95 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.2515, allocations: 496.2 kB / 0.7889 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.2518, allocations: 102.7 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.2519, allocations: 48.89 kB / 0.789 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2519, allocations: 7.922 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.2521, allocations: 99.36 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2521, allocations: 0 / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003557/0.2525, allocations: 172.4 kB / 0.7893 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.2525, allocations: 63.38 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2527, allocations: 207.7 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2528, allocations: 37.7 kB / 0.7896 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2529, allocations: 124.3 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.2529, allocations: 43.48 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.253, allocations: 53.69 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2532, allocations: 330.8 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2533, allocations: 63.95 kB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.2536, allocations: 131.7 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.2538, allocations: 213.3 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2539, allocations: 4 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005553/0.2544, allocations: 328.6 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.2545, allocations: 67.33 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2545, allocations: 4 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2545, allocations: 48 / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.2546, allocations: 31.91 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2546, allocations: 0 / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.2548, allocations: 31.89 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.2549, allocations: 19.92 kB / 0.7909 GB, free: 5.41 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.0001367/0.255, allocations: 140 kB / 0.7911 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.255, allocations: 23.73 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.2553, allocations: 147.5 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2553, allocations: 0 / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2553, allocations: 0 / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2553, allocations: 0 / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.2559, allocations: 498.1 kB / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2559, allocations: 0 / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.2559, allocations: 4 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.256, allocations: 3.938 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.256, allocations: 7.938 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.256, allocations: 0 / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.256, allocations: 0 / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.2562, allocations: 246.3 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.2563, allocations: 92.86 kB / 0.7921 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.2563, allocations: 4 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2564, allocations: 11.98 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.2565, allocations: 11.98 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.2565, allocations: 15.98 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001217/0.2567, allocations: 141.5 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2567, allocations: 0 / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003685/0.2571, allocations: 71.89 kB / 0.7923 GB, free: 3.918 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.0008993/0.258, allocations: 0.9024 MB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.2584, allocations: 258.5 kB / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2584, allocations: 320 / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.2585, allocations: 55.92 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.2589, allocations: 64.58 kB / 0.7935 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.2618, allocations: 2.257 MB / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2622, allocations: 0.7282 MB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.2623, allocations: 37.91 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2624, allocations: 63.41 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of SimCode: time 1.122e-06/0.2625, allocations: 3.938 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2862, allocations: 5.945 MB / 0.8024 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.276, allocations: 4.844 kB / 0.8024 GB, free: 9.562 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)