Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.001108/0.001108, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008188/0.008189, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.01/1.01, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 12 kB / 0.5165 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 83.41 MB / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001472/0.1847, allocations: 1.159 MB / 0.5991 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.1853, allocations: 459.9 kB / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.1854, allocations: 0 / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.1854, allocations: 0 / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.1855, allocations: 3.938 kB / 0.5995 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1856, allocations: 23.97 kB / 0.5996 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.1857, allocations: 23.86 kB / 0.5996 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.1858, allocations: 11.98 kB / 0.5996 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.1858, allocations: 11.94 kB / 0.5996 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.1859, allocations: 11.92 kB / 0.5996 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1859, allocations: 0 / 0.5996 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.115e-05/0.186, allocations: 19.98 kB / 0.5996 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.186, allocations: 3.984 kB / 0.5996 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.186, allocations: 41.62 kB / 0.5997 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.1861, allocations: 27.89 kB / 0.5997 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1861, allocations: 0 / 0.5997 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1861, allocations: 0 / 0.5997 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1862, allocations: 4 kB / 0.5997 GB, free: 5.844 MB / 0.4981 GB 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.0003813/0.1865, allocations: 347.7 kB / 0.6 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1866, allocations: 8.031 kB / 0.6 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.1866, allocations: 34.75 kB / 0.6001 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1867, allocations: 4.938 kB / 0.6001 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.1868, allocations: 168.2 kB / 0.6002 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1868, allocations: 384 / 0.6002 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1868, allocations: 4.375 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.187, allocations: 61.8 kB / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.187, allocations: 0 / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.187, allocations: 0 / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.187, allocations: 0 / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1872, allocations: 47.95 kB / 0.6003 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.1875, allocations: 244.9 kB / 0.6006 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1876, allocations: 50.53 kB / 0.6006 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.1877, allocations: 32.91 kB / 0.6007 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.1878, allocations: 81.09 kB / 0.6007 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1878, allocations: 38.5 kB / 0.6008 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1878, allocations: 0 / 0.6008 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003587/0.1882, allocations: 101.6 kB / 0.6009 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1883, allocations: 51.41 kB / 0.6009 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.1883, allocations: 105.8 kB / 0.601 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1883, allocations: 25.83 kB / 0.601 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1884, allocations: 88.14 kB / 0.6011 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1884, allocations: 15.83 kB / 0.6011 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.1884, allocations: 9.719 kB / 0.6012 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.1885, allocations: 314.8 kB / 0.6015 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.1886, allocations: 23.98 kB / 0.6015 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.1887, allocations: 19.98 kB / 0.6015 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1889, allocations: 52.81 kB / 0.6015 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1889, allocations: 0 / 0.6015 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.1891, allocations: 85.66 kB / 0.6016 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1891, allocations: 5.875 kB / 0.6016 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1891, allocations: 0 / 0.6016 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.1892, allocations: 0 / 0.6016 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.1892, allocations: 12.03 kB / 0.6016 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1892, allocations: 0 / 0.6016 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.1893, allocations: 11.98 kB / 0.6017 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1893, allocations: 0 / 0.6017 GB, free: 3.59 MB / 0.4981 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 (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.995e-05/0.1894, allocations: 113.8 kB / 0.6018 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1894, allocations: 3.906 kB / 0.6018 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1896, allocations: 92.75 kB / 0.6019 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1897, allocations: 0 / 0.6019 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1897, allocations: 256 / 0.6019 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1897, allocations: 0 / 0.6019 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1898, allocations: 173.5 kB / 0.602 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1898, allocations: 0 / 0.602 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.1899, allocations: 16.02 kB / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1899, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1899, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1899, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1899, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1902, allocations: 179.5 kB / 0.6022 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.1902, allocations: 77.11 kB / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1902, allocations: 0 / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.1903, allocations: 11.98 kB / 0.6023 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1904, allocations: 11.92 kB / 0.6023 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1904, allocations: 0 / 0.6023 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.1904, allocations: 87.3 kB / 0.6024 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1904, allocations: 3.938 kB / 0.6024 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002104/0.1906, allocations: 8 kB / 0.6024 GB, free: 2.73 MB / 0.4981 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 (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.0005284/0.1912, allocations: 0.7123 MB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1914, allocations: 47.95 kB / 0.6031 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1914, allocations: 4.094 kB / 0.6031 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.1915, allocations: 27.92 kB / 0.6032 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1917, allocations: 7.938 kB / 0.6032 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1921, allocations: 138.4 kB / 0.6033 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1923, allocations: 0.681 MB / 0.604 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.1924, allocations: 4 kB / 0.604 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1924, allocations: 7.438 kB / 0.604 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1924, allocations: 0 / 0.604 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2792/0.4716, allocations: 1.166 MB / 0.6051 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.4718, allocations: 204.5 kB / 0.6053 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.111, allocations: 0 / 0.6053 GB, free: 40.49 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)