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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001287/0.001287, allocations: 192 kB / 16.14 MB, free: 6.688 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.531 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 0.9678/0.9678, allocations: 143 MB / 433 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 55.91 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1666, allocations: 82.05 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003338/0.1699, allocations: 1.485 MB / 0.5952 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.171, allocations: 471.8 kB / 0.5956 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.171, allocations: 0 / 0.5956 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.171, allocations: 0 / 0.5956 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.1711, allocations: 3.938 kB / 0.5956 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.1713, allocations: 15.98 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.1714, allocations: 31.91 kB / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.1715, allocations: 0 / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.1716, allocations: 11.94 kB / 0.5957 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.1717, allocations: 15.92 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1717, allocations: 0 / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.1718, allocations: 23.98 kB / 0.5957 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1718, allocations: 3.984 kB / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1718, allocations: 11.94 kB / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1719, allocations: 27.89 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.172, allocations: 0 / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.172, allocations: 0 / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.172, allocations: 3.938 kB / 0.5958 GB, free: 7.855 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.0005261/0.1725, allocations: 351.7 kB / 0.5961 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1726, allocations: 8.031 kB / 0.5961 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1726, allocations: 34.73 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.1727, allocations: 0.9375 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1728, allocations: 172.2 kB / 0.5963 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1728, allocations: 4.375 kB / 0.5963 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1728, allocations: 384 / 0.5963 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.173, allocations: 53.8 kB / 0.5964 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1731, allocations: 3.984 kB / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1731, allocations: 4 kB / 0.5964 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1731, allocations: 7.938 kB / 0.5964 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1733, allocations: 31.95 kB / 0.5964 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1737, allocations: 244.9 kB / 0.5967 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1739, allocations: 50.48 kB / 0.5967 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.174, allocations: 20.91 kB / 0.5967 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.1741, allocations: 81.11 kB / 0.5968 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1742, allocations: 30.56 kB / 0.5968 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.1742, allocations: 0 / 0.5968 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004591/0.1746, allocations: 89.67 kB / 0.5969 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1747, allocations: 51.41 kB / 0.597 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1748, allocations: 105.8 kB / 0.5971 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1748, allocations: 25.7 kB / 0.5971 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.1749, allocations: 80.14 kB / 0.5972 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1749, allocations: 15.84 kB / 0.5972 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.175, allocations: 13.7 kB / 0.5972 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1751, allocations: 314.8 kB / 0.5975 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1752, allocations: 24.02 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.139e-05/0.1753, allocations: 11.98 kB / 0.5975 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.1755, allocations: 44.81 kB / 0.5976 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1755, allocations: 0 / 0.5976 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002731/0.1758, allocations: 69.67 kB / 0.5976 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1758, allocations: 4 kB / 0.5976 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1759, allocations: 3.984 kB / 0.5976 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1759, allocations: 0 / 0.5976 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.176, allocations: 8 kB / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.176, allocations: 256 / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.1761, allocations: 11.89 kB / 0.5977 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1761, allocations: 4 kB / 0.5977 GB, free: 5.668 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 8.64e-05/0.1762, allocations: 117.8 kB / 0.5978 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.1762, allocations: 0 / 0.5978 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.1765, allocations: 72.77 kB / 0.5979 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1765, allocations: 11.92 kB / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1766, allocations: 0 / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1766, allocations: 0 / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1768, allocations: 165.5 kB / 0.598 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1768, allocations: 3.938 kB / 0.598 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.1769, allocations: 16.02 kB / 0.598 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1769, allocations: 0 / 0.598 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1769, allocations: 0 / 0.598 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1769, allocations: 0 / 0.598 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1769, allocations: 0 / 0.598 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1772, allocations: 167.5 kB / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.1773, allocations: 81.02 kB / 0.5983 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1773, allocations: 4 kB / 0.5983 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1774, allocations: 3.984 kB / 0.5983 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1775, allocations: 4 kB / 0.5983 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1775, allocations: 4 kB / 0.5983 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.1775, allocations: 83.27 kB / 0.5984 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1776, allocations: 0 / 0.5984 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003358/0.1779, allocations: 8 kB / 0.5984 GB, free: 4.844 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.000708/0.1786, allocations: 0.7007 MB / 0.5991 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.1789, allocations: 43.98 kB / 0.5991 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1789, allocations: 0 / 0.5991 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.179, allocations: 23.92 kB / 0.5991 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1794, allocations: 4 kB / 0.5991 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.1798, allocations: 140.9 kB / 0.5993 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1801, allocations: 0.6733 MB / 0.5999 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.1801, allocations: 8 kB / 0.5999 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.1801, allocations: 11.42 kB / 0.5999 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1801, allocations: 0 / 0.5999 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.192, allocations: 1.23 MB / 0.6011 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.1923, allocations: 209.8 kB / 0.6013 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.834, allocations: 3.875 kB / 0.6013 GB, free: 1.758 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)