Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",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.006143/0.006142, allocations: 96.7 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.001456/0.001456, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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 1.011/1.011, allocations: 143.3 MB / 433.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 67.89 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3607, allocations: 82.03 MB / 0.6754 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002191/0.363, allocations: 1.421 MB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004294/0.3634, allocations: 205.6 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.3635, allocations: 1.094 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.3635, allocations: 0 / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.3635, allocations: 3.938 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3638, allocations: 33.56 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.3639, allocations: 29.61 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.364, allocations: 3.625 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/0.3641, allocations: 15.28 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.3641, allocations: 7.469 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3641, allocations: 1.219 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.3642, allocations: 40.52 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.3642, allocations: 5.125 kB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.3643, allocations: 10.19 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.3644, allocations: 42.7 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3644, allocations: 3.984 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3644, allocations: 4 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3644, allocations: 1.156 kB / 0.6772 GB, free: 15.52 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.0004817/0.3649, allocations: 343.5 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.365, allocations: 13.31 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.365, allocations: 32 kB / 0.6776 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.365, allocations: 6.125 kB / 0.6776 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3652, allocations: 166.6 kB / 0.6777 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.3652, allocations: 384 / 0.6777 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.3652, allocations: 13.36 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3654, allocations: 49.98 kB / 0.6778 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3654, allocations: 7.875 kB / 0.6778 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3654, allocations: 5 kB / 0.6778 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3655, allocations: 0 / 0.6778 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3656, allocations: 35.95 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.366, allocations: 240.6 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3662, allocations: 51.41 kB / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.3663, allocations: 23.28 kB / 0.6781 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.3664, allocations: 79.17 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3664, allocations: 31.5 kB / 0.6783 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3664, allocations: 0 / 0.6783 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.3668, allocations: 85.23 kB / 0.6783 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3669, allocations: 52.84 kB / 0.6784 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.3669, allocations: 107.2 kB / 0.6785 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.367, allocations: 27.17 kB / 0.6785 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.367, allocations: 84.09 kB / 0.6786 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3671, allocations: 9.266 kB / 0.6786 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3671, allocations: 24.45 kB / 0.6786 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3673, allocations: 312.2 kB / 0.6789 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.3673, allocations: 16.8 kB / 0.6789 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.3674, allocations: 13.33 kB / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3676, allocations: 40.03 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3676, allocations: 7.938 kB / 0.679 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002232/0.3678, allocations: 65.45 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3679, allocations: 8.641 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3679, allocations: 1.031 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3679, allocations: 3.938 kB / 0.6791 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.368, allocations: 7.031 kB / 0.6791 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.368, allocations: 0 / 0.6791 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.368, allocations: 11.27 kB / 0.6791 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3681, allocations: 0.9688 kB / 0.6791 GB, free: 13.55 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 7.988e-05/0.3681, allocations: 112 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.3682, allocations: 1.281 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3684, allocations: 74.55 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3684, allocations: 1.062 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3684, allocations: 0 / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3685, allocations: 12.94 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3686, allocations: 158.1 kB / 0.6794 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3686, allocations: 256 / 0.6794 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.3687, allocations: 18.67 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3687, allocations: 0 / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3687, allocations: 1.062 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3687, allocations: 3.984 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3687, allocations: 1.344 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.369, allocations: 170.7 kB / 0.6796 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.3691, allocations: 78.14 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.3691, allocations: 1.312 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.3692, allocations: 6.984 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3692, allocations: 1.281 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3692, allocations: 1.188 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.3693, allocations: 88.11 kB / 0.6798 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3693, allocations: 4 kB / 0.6798 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002245/0.3695, allocations: 9.094 kB / 0.6798 GB, free: 12.8 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.0006206/0.3701, allocations: 0.7082 MB / 0.6805 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3704, allocations: 41.52 kB / 0.6805 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3704, allocations: 0 / 0.6805 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.3705, allocations: 19.61 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3707, allocations: 6.938 kB / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3712, allocations: 142 kB / 0.6807 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3715, allocations: 0.6776 MB / 0.6814 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.3715, allocations: 1.156 kB / 0.6814 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.3715, allocations: 12.48 kB / 0.6814 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.3716, allocations: 0 / 0.6814 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3958, allocations: 1.449 MB / 0.6828 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.45, allocations: 10.33 kB / 0.6828 GB, free: 10.4 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)