Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.001238/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001395/0.001395, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 294.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8829/0.8829, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 92.05 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1802, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002902/0.1832, allocations: 1.491 MB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004777/0.1837, allocations: 200.2 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.1837, allocations: 1.781 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.1838, allocations: 3.984 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.1838, allocations: 7.938 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.1841, allocations: 23.97 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.1841, allocations: 27.92 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.1842, allocations: 4 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.1843, allocations: 11.88 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.1843, allocations: 15.92 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1843, allocations: 0 / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.1844, allocations: 31.97 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1845, allocations: 7.969 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.1845, allocations: 11.94 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.1846, allocations: 36.17 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1846, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1846, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1846, allocations: 4 kB / 0.6814 GB, free: 15.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004056/0.185, allocations: 339.4 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1851, allocations: 12.03 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1851, allocations: 34.73 kB / 0.6817 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1851, allocations: 0.9375 kB / 0.6817 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1853, allocations: 164.4 kB / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1853, allocations: 4.375 kB / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1853, allocations: 4.375 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1855, allocations: 54.17 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1855, allocations: 3.938 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1855, allocations: 0 / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.1855, allocations: 0 / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1857, allocations: 35.95 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.1859, allocations: 252.9 kB / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1861, allocations: 46.42 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1862, allocations: 24.91 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.278e-05/0.1863, allocations: 81.11 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1863, allocations: 30.56 kB / 0.6824 GB, free: 13.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.1863, allocations: 4 kB / 0.6824 GB, free: 13.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.1866, allocations: 81.64 kB / 0.6825 GB, free: 13.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.1867, allocations: 51.41 kB / 0.6825 GB, free: 13.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.1867, allocations: 101.8 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1868, allocations: 33.64 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.1868, allocations: 80.14 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1868, allocations: 11.97 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1869, allocations: 17.72 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.1869, allocations: 314.8 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.187, allocations: 15.98 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.1871, allocations: 15.98 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1873, allocations: 37.14 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1873, allocations: 7.938 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.1875, allocations: 73.59 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1875, allocations: 8 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1875, allocations: 3.938 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1875, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.1876, allocations: 11.92 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1876, allocations: 4.031 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.1877, allocations: 7.984 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1877, allocations: 4 kB / 0.6833 GB, free: 13.01 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 (2): * Single equations (assignments): 2 * 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.396e-05/0.1877, allocations: 110.4 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1878, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.188, allocations: 76.69 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.188, allocations: 8.016 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.188, allocations: 0 / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.188, allocations: 0 / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1882, allocations: 165.6 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1882, allocations: 0 / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.1882, allocations: 7.984 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1882, allocations: 0 / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1882, allocations: 3.938 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1883, allocations: 4 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1883, allocations: 0 / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1885, allocations: 167.5 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.1885, allocations: 77.11 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1885, allocations: 0 / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.1886, allocations: 7.984 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1886, allocations: 0 / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1887, allocations: 4 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.1887, allocations: 87.31 kB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1889, allocations: 15.98 kB / 0.684 GB, free: 12.19 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 (2): * Single equations (assignments): 2 * 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.0004978/0.1894, allocations: 0.7046 MB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1896, allocations: 35.95 kB / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1896, allocations: 0 / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.1897, allocations: 19.98 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.19, allocations: 4 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.1904, allocations: 156.9 kB / 0.6849 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1906, allocations: 0.677 MB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.1906, allocations: 0 / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1907, allocations: 7.438 kB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1907, allocations: 0 / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.201, allocations: 1.271 MB / 0.6868 GB, free: 9.344 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.2012, allocations: 212.2 kB / 0.687 GB, free: 9.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.795, allocations: 3.938 kB / 0.687 GB, free: 9.086 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)