Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",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.007481/0.007481, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001782/0.001782, allocations: 194.5 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 278.9 kB / 290.8 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003619/0.003619, allocations: 99.83 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1863, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001741/0.1881, allocations: 0.5921 MB / 0.7665 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 4.025e-05/0.1882, allocations: 3.938 kB / 0.7665 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.1882, allocations: 4 kB / 0.7665 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.1882, allocations: 0 / 0.7665 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.1882, allocations: 0 / 0.7665 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-05/0.1883, allocations: 0 / 0.7665 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.1883, allocations: 3.984 kB / 0.7665 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.1884, allocations: 0 / 0.7665 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1884, allocations: 7.938 kB / 0.7665 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.661e-05/0.1884, allocations: 4 kB / 0.7665 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1884, allocations: 0 / 0.7665 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.915e-06/0.1884, allocations: 0 / 0.7665 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1885, allocations: 4 kB / 0.7665 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.1885, allocations: 0 / 0.7665 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.462e-05/0.1885, allocations: 3.984 kB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1885, allocations: 3.938 kB / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1886, allocations: 0 / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1886, allocations: 0 / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00032/0.1889, allocations: 311.9 kB / 0.7668 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1889, allocations: 8.031 kB / 0.7668 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.189, allocations: 34.75 kB / 0.7668 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.189, allocations: 0.9375 kB / 0.7668 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1891, allocations: 168.4 kB / 0.767 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1891, allocations: 384 / 0.767 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.1891, allocations: 4.375 kB / 0.767 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.1892, allocations: 30.27 kB / 0.767 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1892, allocations: 3.938 kB / 0.767 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1893, allocations: 0 / 0.767 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1893, allocations: 4 kB / 0.767 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.757e-05/0.1893, allocations: 3.938 kB / 0.767 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1894, allocations: 145.6 kB / 0.7672 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.1895, allocations: 26.53 kB / 0.7672 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.1895, allocations: 8.922 kB / 0.7672 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.1895, allocations: 4 kB / 0.7672 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1895, allocations: 34.56 kB / 0.7672 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1895, allocations: 0 / 0.7672 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.1897, allocations: 37.58 kB / 0.7673 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1897, allocations: 51.41 kB / 0.7673 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.1898, allocations: 89.86 kB / 0.7674 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1898, allocations: 25.7 kB / 0.7674 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1898, allocations: 84.14 kB / 0.7675 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1899, allocations: 7.953 kB / 0.7675 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.1899, allocations: 13.84 kB / 0.7675 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.19, allocations: 318.8 kB / 0.7678 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.19, allocations: 0 / 0.7678 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.1901, allocations: 4 kB / 0.7678 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.1901, allocations: 4.859 kB / 0.7679 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1901, allocations: 4 kB / 0.7679 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.845e-05/0.1901, allocations: 41.64 kB / 0.7679 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1902, allocations: 4 kB / 0.7679 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1902, allocations: 8.031 kB / 0.7679 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1902, allocations: 0 / 0.7679 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.1903, allocations: 4 kB / 0.7679 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1903, allocations: 0 / 0.7679 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.1903, allocations: 3.984 kB / 0.7679 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1903, allocations: 0 / 0.7679 GB, free: 6.645 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.342e-05/0.1904, allocations: 106.5 kB / 0.768 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.1904, allocations: 4 kB / 0.768 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.38e-05/0.1904, allocations: 7.062 kB / 0.768 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1904, allocations: 4 kB / 0.768 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1904, allocations: 0 / 0.768 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1904, allocations: 0 / 0.768 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1905, allocations: 149.7 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1905, allocations: 0 / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.1905, allocations: 4 kB / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1906, allocations: 0 / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1906, allocations: 3.938 kB / 0.7682 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1906, allocations: 3.938 kB / 0.7682 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1906, allocations: 0 / 0.7682 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.489e-05/0.1906, allocations: 61.08 kB / 0.7682 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.1907, allocations: 81.09 kB / 0.7683 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1907, allocations: 3.938 kB / 0.7683 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.1907, allocations: 4 kB / 0.7683 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.1907, allocations: 0 / 0.7683 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.1907, allocations: 0 / 0.7683 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.1908, allocations: 75.28 kB / 0.7684 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1908, allocations: 4 kB / 0.7684 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001765/0.191, allocations: 4.031 kB / 0.7684 GB, free: 6.047 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003743/0.1913, allocations: 0.5928 MB / 0.769 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.1914, allocations: 8 kB / 0.769 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1914, allocations: 96 / 0.769 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.1914, allocations: 4 kB / 0.769 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1916, allocations: 7.938 kB / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.1919, allocations: 106.1 kB / 0.7691 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1921, allocations: 0.6768 MB / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.879e-06/0.1922, allocations: 0 / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1922, allocations: 7.438 kB / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1922, allocations: 0 / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.2123, allocations: 0.8922 MB / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.064, allocations: 7.594 kB / 0.7707 GB, free: 3.734 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)