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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.004755/0.004756, allocations: 99.69 kB / 15.73 MB, free: 6.051 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.00124/0.00124, allocations: 192.5 kB / 16.67 MB, free: 5.957 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9329/0.9329, allocations: 143.3 MB / 433.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 64.5 kB / 0.5953 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1837, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002751/0.1865, allocations: 1.446 MB / 0.6768 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.1873, allocations: 463.8 kB / 0.6773 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.1874, allocations: 4 kB / 0.6773 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.1874, allocations: 0 / 0.6773 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.1875, allocations: 3.938 kB / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1877, allocations: 27.91 kB / 0.6773 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.1878, allocations: 23.92 kB / 0.6773 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.1879, allocations: 12 kB / 0.6773 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.188, allocations: 11.92 kB / 0.6774 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.188, allocations: 11.94 kB / 0.6774 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.188, allocations: 0 / 0.6774 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.1881, allocations: 27.91 kB / 0.6774 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1882, allocations: 4 kB / 0.6774 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1882, allocations: 11.92 kB / 0.6774 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1883, allocations: 36.11 kB / 0.6774 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1883, allocations: 4 kB / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1883, allocations: 0 / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1883, allocations: 4 kB / 0.6774 GB, free: 8.543 MB / 0.5137 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.0004955/0.1888, allocations: 339.4 kB / 0.6778 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1889, allocations: 8.031 kB / 0.6778 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1889, allocations: 34.75 kB / 0.6778 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.189, allocations: 4.938 kB / 0.6778 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1891, allocations: 164.3 kB / 0.678 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1892, allocations: 384 / 0.678 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1892, allocations: 384 / 0.678 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1894, allocations: 65.72 kB / 0.678 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1894, allocations: 0 / 0.678 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1894, allocations: 4 kB / 0.678 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1894, allocations: 0 / 0.678 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1896, allocations: 31.95 kB / 0.6781 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.19, allocations: 252.9 kB / 0.6783 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1901, allocations: 42.59 kB / 0.6784 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.1903, allocations: 24.84 kB / 0.6784 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.1904, allocations: 93.02 kB / 0.6785 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1905, allocations: 30.56 kB / 0.6785 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1905, allocations: 0 / 0.6785 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/0.1908, allocations: 85.64 kB / 0.6786 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1909, allocations: 51.41 kB / 0.6786 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.191, allocations: 101.9 kB / 0.6787 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.191, allocations: 25.7 kB / 0.6787 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1911, allocations: 92.08 kB / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1912, allocations: 7.953 kB / 0.6788 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1912, allocations: 13.84 kB / 0.6789 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1914, allocations: 318.8 kB / 0.6792 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.1915, allocations: 19.92 kB / 0.6792 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.1916, allocations: 23.91 kB / 0.6792 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1917, allocations: 36.83 kB / 0.6792 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1917, allocations: 4.062 kB / 0.6792 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.1919, allocations: 65.66 kB / 0.6793 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.192, allocations: 4 kB / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.192, allocations: 0 / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.192, allocations: 0 / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.1921, allocations: 11.98 kB / 0.6793 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1921, allocations: 0 / 0.6793 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.1922, allocations: 7.938 kB / 0.6793 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1922, allocations: 4.031 kB / 0.6793 GB, free: 6.363 MB / 0.5137 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 9.569e-05/0.1923, allocations: 124.3 kB / 0.6794 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1923, allocations: 3.984 kB / 0.6795 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1925, allocations: 72.78 kB / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1926, allocations: 0 / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1926, allocations: 0 / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1926, allocations: 32 / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1928, allocations: 161.6 kB / 0.6797 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1928, allocations: 0 / 0.6797 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.1928, allocations: 11.98 kB / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1928, allocations: 0 / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1928, allocations: 0 / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1928, allocations: 0 / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1929, allocations: 0 / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1931, allocations: 175.3 kB / 0.6799 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1932, allocations: 81.09 kB / 0.6799 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1932, allocations: 4.25 kB / 0.6799 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1933, allocations: 8 kB / 0.6799 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1933, allocations: 3.984 kB / 0.6799 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1933, allocations: 3.938 kB / 0.6799 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.1934, allocations: 83.28 kB / 0.68 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1934, allocations: 0 / 0.68 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002117/0.1936, allocations: 12.03 kB / 0.68 GB, free: 5.539 MB / 0.5137 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.0006966/0.1943, allocations: 0.6967 MB / 0.6807 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.1946, allocations: 43.92 kB / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1946, allocations: 0 / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.1947, allocations: 19.98 kB / 0.6808 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.195, allocations: 7.984 kB / 0.6808 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.1954, allocations: 135 kB / 0.6809 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1958, allocations: 0.6885 MB / 0.6816 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.1959, allocations: 0 / 0.6816 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1959, allocations: 11.44 kB / 0.6816 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1959, allocations: 0 / 0.6816 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.2181, allocations: 1.438 MB / 0.683 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.196, allocations: 10 kB / 0.683 GB, free: 2.496 MB / 0.5137 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)