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.001123/0.001123, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 195.7 kB / 16.64 MB, free: 6.453 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.357/1.357, allocations: 222.9 MB / 240.3 MB, free: 4.363 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.9661/0.9661, allocations: 143 MB / 433.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.5144 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 82.03 MB / 0.5945 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002379/0.1633, allocations: 1.444 MB / 0.596 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.1641, allocations: 459.8 kB / 0.5964 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.1641, allocations: 0 / 0.5964 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.1641, allocations: 7.922 kB / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.1642, allocations: 7.938 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1644, allocations: 19.97 kB / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.1645, allocations: 23.92 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.1645, allocations: 11.94 kB / 0.5965 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.1646, allocations: 11.94 kB / 0.5965 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1646, allocations: 3.984 kB / 0.5965 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1647, allocations: 7.938 kB / 0.5965 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.1647, allocations: 23.98 kB / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1647, allocations: 15.91 kB / 0.5965 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.1648, allocations: 4 kB / 0.5965 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.169e-05/0.1649, allocations: 35.91 kB / 0.5966 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1649, allocations: 0 / 0.5966 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1649, allocations: 0 / 0.5966 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1649, allocations: 0 / 0.5966 GB, free: 7.289 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.0004093/0.1653, allocations: 345.7 kB / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1653, allocations: 16.03 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1654, allocations: 30.75 kB / 0.5969 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.1654, allocations: 4.875 kB / 0.5969 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1655, allocations: 172.2 kB / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1655, allocations: 384 / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1656, allocations: 384 / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1657, allocations: 53.8 kB / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1657, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1657, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1658, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1659, allocations: 39.95 kB / 0.5972 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1662, allocations: 252.9 kB / 0.5974 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1663, allocations: 42.48 kB / 0.5975 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.1664, allocations: 24.91 kB / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.1665, allocations: 85.09 kB / 0.5976 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1666, allocations: 38.55 kB / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1666, allocations: 0 / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003145/0.1669, allocations: 73.66 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.1669, allocations: 55.34 kB / 0.5977 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/0.167, allocations: 110 kB / 0.5978 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.167, allocations: 25.7 kB / 0.5979 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1671, allocations: 84.14 kB / 0.5979 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.1671, allocations: 7.844 kB / 0.598 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.1671, allocations: 17.7 kB / 0.598 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1672, allocations: 318.8 kB / 0.5983 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.1673, allocations: 15.98 kB / 0.5983 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.1674, allocations: 19.98 kB / 0.5983 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1675, allocations: 40.81 kB / 0.5983 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1675, allocations: 0 / 0.5983 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001699/0.1677, allocations: 69.52 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1677, allocations: 11.92 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1678, allocations: 4.094 kB / 0.5984 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1678, allocations: 0 / 0.5984 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.1678, allocations: 8 kB / 0.5984 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1679, allocations: 256 / 0.5984 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1679, allocations: 7.984 kB / 0.5984 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1679, allocations: 8 kB / 0.5985 GB, free: 5.098 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.447e-05/0.168, allocations: 113.7 kB / 0.5986 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.168, allocations: 4 kB / 0.5986 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.1683, allocations: 76.77 kB / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1683, allocations: 0 / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1683, allocations: 4 kB / 0.5986 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1683, allocations: 0 / 0.5986 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1684, allocations: 157.6 kB / 0.5988 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1684, allocations: 3.938 kB / 0.5988 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.1685, allocations: 7.984 kB / 0.5988 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1685, allocations: 4 kB / 0.5988 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1685, allocations: 4.031 kB / 0.5988 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1685, allocations: 0 / 0.5988 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1685, allocations: 0 / 0.5988 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1688, allocations: 163.5 kB / 0.599 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.1688, allocations: 81.02 kB / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1688, allocations: 0 / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.1689, allocations: 12.02 kB / 0.5991 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1689, allocations: 4 kB / 0.5991 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.169, allocations: 0 / 0.5991 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.169, allocations: 87.27 kB / 0.5991 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.169, allocations: 0 / 0.5991 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002132/0.1692, allocations: 4 kB / 0.5991 GB, free: 4.289 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.0005597/0.1698, allocations: 0.7007 MB / 0.5998 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.17, allocations: 39.95 kB / 0.5999 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.17, allocations: 0 / 0.5999 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.1701, allocations: 28.02 kB / 0.5999 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1704, allocations: 5.812 kB / 0.5999 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.1708, allocations: 143.1 kB / 0.6 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1711, allocations: 0.6729 MB / 0.6007 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.1711, allocations: 3.938 kB / 0.6007 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1711, allocations: 19.42 kB / 0.6007 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1711, allocations: 0 / 0.6007 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.1884, allocations: 1.423 MB / 0.6021 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.545, allocations: 9.781 kB / 0.6021 GB, free: 1.258 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)