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.001052/0.001052, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001855/0.001856, allocations: 197.6 kB / 16.25 MB, free: 6.621 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 286.4 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 169.3 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 104.2 kB / 0.5948 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1868, allocations: 86.97 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001883/0.1888, allocations: 0.6431 MB / 0.6804 GB, free: 312 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 4.044e-05/0.1888, allocations: 11.94 kB / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.1888, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1889, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.1889, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.094e-05/0.1889, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.551e-05/0.189, allocations: 3.938 kB / 0.6804 GB, free: 296 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.189, allocations: 4 kB / 0.6804 GB, free: 292 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.189, allocations: 0 / 0.6804 GB, free: 292 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.1891, allocations: 7.984 kB / 0.6804 GB, free: 284 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1891, allocations: 3.938 kB / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-06/0.1891, allocations: 0 / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1891, allocations: 0 / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.1891, allocations: 0 / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.707e-05/0.1892, allocations: 7.984 kB / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1892, allocations: 0 / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1892, allocations: 4 kB / 0.6804 GB, free: 268 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1892, allocations: 0 / 0.6804 GB, free: 268 kB / 478.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.0002936/0.1895, allocations: 307.6 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1896, allocations: 16.06 kB / 0.6807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1896, allocations: 30.75 kB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.1896, allocations: 0.9375 kB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.1897, allocations: 164.7 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1898, allocations: 384 / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1898, allocations: 384 / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.1899, allocations: 38.2 kB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1899, allocations: 3.938 kB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.1899, allocations: 0 / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1899, allocations: 3.938 kB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.1899, allocations: 4 kB / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.19, allocations: 145.7 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.1901, allocations: 18.56 kB / 0.6811 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.1901, allocations: 12.95 kB / 0.6811 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.1901, allocations: 3.938 kB / 0.6811 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1901, allocations: 30.56 kB / 0.6811 GB, free: 15.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1902, allocations: 4 kB / 0.6811 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.982e-05/0.1903, allocations: 33.64 kB / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1903, allocations: 51.41 kB / 0.6812 GB, free: 15.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.963e-05/0.1903, allocations: 89.86 kB / 0.6813 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1904, allocations: 29.7 kB / 0.6813 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.1904, allocations: 80.14 kB / 0.6814 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1904, allocations: 3.938 kB / 0.6814 GB, free: 15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.1904, allocations: 13.72 kB / 0.6814 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1906, allocations: 319 kB / 0.6817 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.1906, allocations: 4 kB / 0.6817 GB, free: 14.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.1906, allocations: 3.938 kB / 0.6817 GB, free: 14.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.1906, allocations: 8.859 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1906, allocations: 0 / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.343e-05/0.1907, allocations: 37.7 kB / 0.6818 GB, free: 14.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1907, allocations: 4 kB / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1907, allocations: 3.938 kB / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.1907, allocations: 4.094 kB / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.1908, allocations: 7.938 kB / 0.6818 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1908, allocations: 0 / 0.6818 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.1908, allocations: 3.984 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1908, allocations: 0 / 0.6818 GB, free: 14.57 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 7.012e-05/0.1909, allocations: 110.5 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.1909, allocations: 7.922 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.1909, allocations: 7.062 kB / 0.6819 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1909, allocations: 0 / 0.6819 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1909, allocations: 4 kB / 0.6819 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1909, allocations: 0 / 0.6819 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.411e-05/0.191, allocations: 145.7 kB / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.191, allocations: 4 kB / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.191, allocations: 3.938 kB / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.191, allocations: 0 / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.191, allocations: 3.938 kB / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.191, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.191, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.514e-05/0.1911, allocations: 65.05 kB / 0.6822 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.1911, allocations: 81.09 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.1912, allocations: 3.938 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-06/0.1912, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.1912, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1912, allocations: 4 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.1912, allocations: 79.22 kB / 0.6823 GB, free: 13.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1912, allocations: 0 / 0.6823 GB, free: 13.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001713/0.1914, allocations: 8.031 kB / 0.6823 GB, free: 13.96 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.0003061/0.1917, allocations: 0.589 MB / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.681e-05/0.1918, allocations: 4 kB / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1918, allocations: 0 / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/0.1918, allocations: 8.031 kB / 0.6829 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.1919, allocations: 4 kB / 0.6829 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.1922, allocations: 98.73 kB / 0.683 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1924, allocations: 0.6768 MB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.069e-05/0.1924, allocations: 0 / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.1924, allocations: 7.438 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1925, allocations: 0 / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.2025, allocations: 0.8002 MB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.2028, allocations: 207.5 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.789, allocations: 0 / 0.6847 GB, free: 11.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)