Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.0008575/0.0008575, allocations: 98.19 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.006087/0.006088, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.254 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.9961/0.9961, allocations: 143.2 MB / 434.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 15.98 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1694, allocations: 83.42 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008344/0.1703, allocations: 315.1 kB / 0.5983 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.172, allocations: 1.1 MB / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.172, allocations: 0 / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.172, allocations: 0 / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1723, allocations: 15.98 kB / 0.5994 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.955e-06/0.1723, allocations: 0 / 0.5994 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.499e-05/0.1723, allocations: 3.938 kB / 0.5994 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.1724, allocations: 3.984 kB / 0.5994 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.1724, allocations: 7.938 kB / 0.5994 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/0.1724, allocations: 0 / 0.5994 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.1724, allocations: 0 / 0.5994 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1726, allocations: 27.97 kB / 0.5994 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1726, allocations: 3.938 kB / 0.5994 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1726, allocations: 25.7 kB / 0.5994 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.545e-05/0.1727, allocations: 19.92 kB / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1727, allocations: 0 / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1727, allocations: 0 / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1727, allocations: 0 / 0.5995 GB, free: 6.031 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.0002584/0.173, allocations: 315.6 kB / 0.5998 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.173, allocations: 8.031 kB / 0.5998 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.1731, allocations: 34.75 kB / 0.5998 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.1731, allocations: 0.9375 kB / 0.5998 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.175e-05/0.1732, allocations: 164.4 kB / 0.6 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.1732, allocations: 384 / 0.6 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1732, allocations: 384 / 0.6 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1733, allocations: 41.81 kB / 0.6 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1734, allocations: 7.875 kB / 0.6 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1734, allocations: 0 / 0.6 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1734, allocations: 0 / 0.6 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.496e-05/0.1734, allocations: 4 kB / 0.6 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1736, allocations: 161.6 kB / 0.6002 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1738, allocations: 34.61 kB / 0.6002 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.1738, allocations: 8.859 kB / 0.6002 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.174, allocations: 85.09 kB / 0.6003 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.174, allocations: 42.52 kB / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.174, allocations: 0 / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004139/0.1781, allocations: 0.5757 MB / 0.6009 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1782, allocations: 51.41 kB / 0.6009 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.998e-05/0.1782, allocations: 89.86 kB / 0.601 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1783, allocations: 29.7 kB / 0.6011 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.1783, allocations: 84.14 kB / 0.6011 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.1783, allocations: 11.75 kB / 0.6012 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1784, allocations: 9.719 kB / 0.6012 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.1785, allocations: 318.8 kB / 0.6015 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.179, allocations: 83.94 kB / 0.6015 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.1796, allocations: 106.5 kB / 0.6016 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.1808, allocations: 186.4 kB / 0.6018 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1808, allocations: 4 kB / 0.6018 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001228/0.1821, allocations: 213.5 kB / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1821, allocations: 7.984 kB / 0.602 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1821, allocations: 4 kB / 0.602 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1821, allocations: 0 / 0.602 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.1825, allocations: 48 kB / 0.6021 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1825, allocations: 4 kB / 0.6021 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.1829, allocations: 36.17 kB / 0.6021 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1829, allocations: 8 kB / 0.6021 GB, free: 3.031 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.194e-05/0.183, allocations: 109.8 kB / 0.6022 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.183, allocations: 15.83 kB / 0.6023 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.1844, allocations: 237 kB / 0.6025 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1844, allocations: 0 / 0.6025 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1844, allocations: 0 / 0.6025 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1844, allocations: 0 / 0.6025 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.1859, allocations: 458.4 kB / 0.6029 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1859, allocations: 4 kB / 0.6029 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.1863, allocations: 43.97 kB / 0.603 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1863, allocations: 4 kB / 0.603 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1864, allocations: 4 kB / 0.603 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1864, allocations: 0 / 0.603 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1864, allocations: 7.938 kB / 0.603 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.1877, allocations: 299.4 kB / 0.6033 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1877, allocations: 77.11 kB / 0.6033 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1877, allocations: 11.94 kB / 0.6033 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.1881, allocations: 35.97 kB / 0.6034 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1881, allocations: 8 kB / 0.6034 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1882, allocations: 0 / 0.6034 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001202/0.1883, allocations: 79.28 kB / 0.6035 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.034e-06/0.1883, allocations: 0 / 0.6035 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002586/0.1886, allocations: 19.94 kB / 0.6035 GB, free: 1.543 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 (5): * Single equations (assignments): 5 * 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.001617/0.1902, allocations: 0.8452 MB / 0.6043 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.1914, allocations: 184 kB / 0.6045 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1914, allocations: 0 / 0.6045 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.192, allocations: 92.06 kB / 0.6046 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1923, allocations: 6.812 kB / 0.6046 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1936, allocations: 244.3 kB / 0.6048 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2688/0.4624, allocations: 0.6755 MB / 0.6055 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.4628, allocations: 30.44 kB / 0.6055 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.4629, allocations: 14.52 kB / 0.6055 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.4629, allocations: 0.7812 kB / 0.6055 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.4735, allocations: 1.44 MB / 0.6069 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.4737, allocations: 234.5 kB / 0.6071 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.105, allocations: 0 / 0.6071 GB, free: 40.21 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)