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.001079/0.001079, 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.001198/0.001198, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.066/1.066, allocations: 143 MB / 433.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1727, allocations: 82.04 MB / 0.5939 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002731/0.1755, allocations: 1.49 MB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.1763, allocations: 455.8 kB / 0.5958 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.1764, allocations: 0 / 0.5958 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.1764, allocations: 0 / 0.5958 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.1765, allocations: 11.92 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1767, allocations: 23.92 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.1768, allocations: 27.92 kB / 0.5959 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.1769, allocations: 4 kB / 0.5959 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.177, allocations: 11.98 kB / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.177, allocations: 15.92 kB / 0.5959 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.177, allocations: 4 kB / 0.5959 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.1771, allocations: 23.91 kB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.1771, allocations: 0 / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1771, allocations: 11.94 kB / 0.5959 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1772, allocations: 31.89 kB / 0.596 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1773, allocations: 0 / 0.596 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1773, allocations: 3.938 kB / 0.596 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1773, allocations: 0 / 0.596 GB, free: 7.707 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.000484/0.1778, allocations: 351.7 kB / 0.5963 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1778, allocations: 8.031 kB / 0.5963 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.1779, allocations: 34.75 kB / 0.5963 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1779, allocations: 0.9375 kB / 0.5963 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.178, allocations: 168.3 kB / 0.5965 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.178, allocations: 4.375 kB / 0.5965 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.178, allocations: 384 / 0.5965 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1782, allocations: 61.73 kB / 0.5966 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1782, allocations: 0 / 0.5966 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1783, allocations: 0 / 0.5966 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1783, allocations: 3.984 kB / 0.5966 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1784, allocations: 31.97 kB / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1788, allocations: 256.9 kB / 0.5968 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1789, allocations: 38.56 kB / 0.5969 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.179, allocations: 28.84 kB / 0.5969 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1791, allocations: 85.09 kB / 0.597 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1792, allocations: 34.56 kB / 0.597 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1792, allocations: 3.938 kB / 0.597 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003477/0.1795, allocations: 85.64 kB / 0.5971 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1796, allocations: 51.41 kB / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.1797, allocations: 97.84 kB / 0.5972 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1797, allocations: 33.7 kB / 0.5973 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.1797, allocations: 80.14 kB / 0.5974 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.1798, allocations: 7.844 kB / 0.5974 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1798, allocations: 17.72 kB / 0.5974 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1799, allocations: 318.9 kB / 0.5977 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.18, allocations: 19.91 kB / 0.5977 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.1801, allocations: 19.98 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1803, allocations: 32.83 kB / 0.5978 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1803, allocations: 4 kB / 0.5978 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.1805, allocations: 69.62 kB / 0.5978 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1805, allocations: 8 kB / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1805, allocations: 0 / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1805, allocations: 0 / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.1806, allocations: 11.98 kB / 0.5978 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1806, allocations: 0 / 0.5978 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.1807, allocations: 7.984 kB / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1807, allocations: 11.97 kB / 0.5979 GB, free: 5.508 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 7.652e-05/0.1808, allocations: 109.8 kB / 0.598 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1808, allocations: 0 / 0.598 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.181, allocations: 76.72 kB / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.181, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.181, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.181, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1812, allocations: 169.6 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1812, allocations: 0 / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.1813, allocations: 4 kB / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1813, allocations: 3.984 kB / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1813, allocations: 0 / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1813, allocations: 4 kB / 0.5982 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1813, allocations: 0 / 0.5982 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1816, allocations: 171.4 kB / 0.5984 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.1816, allocations: 84.95 kB / 0.5985 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1816, allocations: 0 / 0.5985 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1817, allocations: 4.25 kB / 0.5985 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1817, allocations: 3.984 kB / 0.5985 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1817, allocations: 8 kB / 0.5985 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.1818, allocations: 83.28 kB / 0.5986 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.5986 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002107/0.182, allocations: 8.031 kB / 0.5986 GB, free: 4.695 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.0005859/0.1826, allocations: 0.7006 MB / 0.5992 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.1828, allocations: 36 kB / 0.5993 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1828, allocations: 0 / 0.5993 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.1829, allocations: 23.97 kB / 0.5993 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1833, allocations: 7.438 kB / 0.5993 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.1837, allocations: 155.2 kB / 0.5995 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.184, allocations: 0.6807 MB / 0.6001 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.184, allocations: 0 / 0.6001 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.184, allocations: 11.44 kB / 0.6001 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.184, allocations: 0 / 0.6001 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.1968, allocations: 1.275 MB / 0.6014 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.1971, allocations: 208.3 kB / 0.6016 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.885, allocations: 0 / 0.6016 GB, free: 1.582 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)