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.00107/0.00107, allocations: 108 kB / 15.6 MB, free: 132 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.001136/0.001136, allocations: 191 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 286.5 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 102.8 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1839, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001959/0.1859, allocations: 0.58 MB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 3.932e-05/0.186, allocations: 7.938 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.186, allocations: 0 / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.1861, allocations: 4.047 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.1861, allocations: 0 / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.829e-05/0.1861, allocations: 0 / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.1862, allocations: 0 / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1862, allocations: 4.594 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.1862, allocations: 0.6562 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.035e-05/0.1863, allocations: 8 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1863, allocations: 0.625 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.1863, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1863, allocations: 0.7188 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.1863, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.027e-05/0.1864, allocations: 4.562 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1864, allocations: 1.969 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1864, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1864, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 MB 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.0002766/0.1867, allocations: 307.6 kB / 0.6812 GB, free: 15.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1867, allocations: 8.031 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.1868, allocations: 34.75 kB / 0.6812 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.1868, allocations: 4.938 kB / 0.6812 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.1869, allocations: 176.6 kB / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1869, allocations: 384 / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1869, allocations: 384 / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.187, allocations: 26.27 kB / 0.6814 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.187, allocations: 7.938 kB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.187, allocations: 0 / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.187, allocations: 0 / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.1871, allocations: 4 kB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.1872, allocations: 145.6 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.421e-05/0.1872, allocations: 26.55 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.1873, allocations: 8.844 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1873, allocations: 4.062 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1873, allocations: 30.56 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1873, allocations: 4 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000106/0.1874, allocations: 33.64 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1875, allocations: 51.41 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.993e-05/0.1875, allocations: 89.86 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1875, allocations: 29.7 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.1875, allocations: 80.14 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1876, allocations: 7.938 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1876, allocations: 17.59 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1877, allocations: 319 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.1877, allocations: 4 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.1878, allocations: 4 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.1878, allocations: 8.859 kB / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1878, allocations: 0 / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.045e-05/0.1878, allocations: 33.7 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1879, allocations: 4 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1879, allocations: 3.938 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1879, allocations: 4.094 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.188, allocations: 4 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.188, allocations: 3.938 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.188, allocations: 0 / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.188, allocations: 3.984 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB 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 6.27e-05/0.1881, allocations: 106.5 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-06/0.1881, allocations: 0 / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.1881, allocations: 11.06 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1881, allocations: 3.984 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1881, allocations: 4 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1881, allocations: 0 / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.49e-05/0.1882, allocations: 149.7 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1882, allocations: 0 / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.1882, allocations: 4 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1882, allocations: 0 / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1883, allocations: 7.875 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.1883, allocations: 3.984 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1883, allocations: 0 / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.986e-05/0.1883, allocations: 61.05 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1884, allocations: 85.09 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1884, allocations: 3.938 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.1884, allocations: 3.938 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.1884, allocations: 0 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1884, allocations: 0 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.321e-05/0.1885, allocations: 75.28 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1885, allocations: 0 / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.1887, allocations: 4 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB 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.0003137/0.189, allocations: 0.5929 MB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.911e-05/0.1891, allocations: 7.938 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1891, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.1891, allocations: 96 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.1892, allocations: 12 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.1895, allocations: 98.73 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1897, allocations: 0.6768 MB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.129e-05/0.1897, allocations: 0 / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.1898, allocations: 7.438 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1898, allocations: 0 / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.2058, allocations: 0.873 MB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.12, allocations: 9.172 kB / 0.685 GB, free: 11.38 MB / 494.1 MB (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)