Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.004844/0.004844, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001184/0.001184, allocations: 203.5 kB / 16.68 MB, free: 5.969 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.081/1.081, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.88 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4903, allocations: 82.02 MB / 0.6754 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002911/0.4932, allocations: 1.447 MB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4944, allocations: 0.5755 MB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.4945, allocations: 0 / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.4945, allocations: 5.188 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.4946, allocations: 3.938 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.4949, allocations: 43.64 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.495, allocations: 30.77 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.4951, allocations: 7.656 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.4952, allocations: 17.97 kB / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.4953, allocations: 15.2 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.4953, allocations: 3.062 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.4954, allocations: 54.05 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.4955, allocations: 5.031 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.4955, allocations: 19.11 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.4958, allocations: 67.73 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.4958, allocations: 8 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.098e-06/0.4958, allocations: 1.125 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4958, allocations: 0 / 0.6777 GB, free: 15.17 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.0007096/0.4965, allocations: 353.1 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.4966, allocations: 9.062 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.4967, allocations: 31.91 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.4967, allocations: 6.156 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4969, allocations: 174.7 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.497, allocations: 1.625 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.497, allocations: 5.531 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.4972, allocations: 45.94 kB / 0.6783 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4972, allocations: 0 / 0.6783 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4972, allocations: 1.156 kB / 0.6783 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4972, allocations: 0 / 0.6783 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.4974, allocations: 23.7 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.4979, allocations: 255.4 kB / 0.6785 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.498, allocations: 39.64 kB / 0.6786 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.4981, allocations: 11.61 kB / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.4991, allocations: 476.5 kB / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.4992, allocations: 34.56 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4992, allocations: 5.094 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003051/0.4995, allocations: 62.39 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.4996, allocations: 52.5 kB / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4998, allocations: 111.5 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4998, allocations: 26.92 kB / 0.6793 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.4999, allocations: 93.38 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4999, allocations: 5.234 kB / 0.6794 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.4999, allocations: 11.91 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5002, allocations: 323.7 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.5002, allocations: 5.344 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.5003, allocations: 14.45 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.969e-05/0.5004, allocations: 29.09 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5004, allocations: 4 kB / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001326/0.5005, allocations: 51.59 kB / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5006, allocations: 7.312 kB / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5006, allocations: 0 / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5006, allocations: 0 / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.5007, allocations: 8.672 kB / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5007, allocations: 4.062 kB / 0.6798 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.5008, allocations: 2.75 kB / 0.6798 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5008, allocations: 0 / 0.6798 GB, free: 12.82 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 0.0001448/0.5009, allocations: 124.6 kB / 0.68 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.501, allocations: 5.453 kB / 0.68 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.5012, allocations: 62.08 kB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5012, allocations: 0 / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5012, allocations: 0 / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5012, allocations: 1.281 kB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.5015, allocations: 171.1 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5015, allocations: 1.125 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.5015, allocations: 11.45 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5016, allocations: 1.375 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.5016, allocations: 0 / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5016, allocations: 1.656 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5016, allocations: 4 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.5018, allocations: 152.9 kB / 0.6804 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.5019, allocations: 86.19 kB / 0.6804 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.5019, allocations: 5.016 kB / 0.6804 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.502, allocations: 1 kB / 0.6804 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.5021, allocations: 1.219 kB / 0.6804 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5021, allocations: 5.062 kB / 0.6804 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.279e-05/0.5021, allocations: 90.05 kB / 0.6805 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5022, allocations: 0 / 0.6805 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002476/0.5024, allocations: 15.66 kB / 0.6806 GB, free: 12.07 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.000801/0.5032, allocations: 0.6967 MB / 0.6812 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.5034, allocations: 30.62 kB / 0.6813 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5034, allocations: 0 / 0.6813 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.5035, allocations: 11.75 kB / 0.6813 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.5037, allocations: 5.219 kB / 0.6813 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.5042, allocations: 156.4 kB / 0.6814 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5046, allocations: 0.6785 MB / 0.6821 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.5047, allocations: 2.031 kB / 0.6821 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.5047, allocations: 16.34 kB / 0.6821 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.5047, allocations: 1.156 kB / 0.6821 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.5299, allocations: 1.642 MB / 0.6837 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.436, allocations: 9.75 kB / 0.6837 GB, free: 9.574 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)