Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.006375/0.006375, allocations: 99.34 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.001386/0.001386, allocations: 196 kB / 16.67 MB, free: 5.961 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.442/1.442, 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.036/1.036, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.394, allocations: 82.03 MB / 0.6754 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00258/0.3966, allocations: 1.76 MB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3978, allocations: 0.657 MB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.3978, allocations: 1.188 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.3979, allocations: 11.86 kB / 0.6778 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.398, allocations: 18.7 kB / 0.6778 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.3985, allocations: 182.5 kB / 0.678 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3987, allocations: 123.9 kB / 0.6781 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3988, allocations: 55.34 kB / 0.6782 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.399, allocations: 57.64 kB / 0.6782 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.588e-05/0.399, allocations: 48.31 kB / 0.6783 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3991, allocations: 10.56 kB / 0.6783 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3992, allocations: 47.14 kB / 0.6783 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.3992, allocations: 30.5 kB / 0.6783 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.3993, allocations: 52.66 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.3996, allocations: 153.3 kB / 0.6785 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3996, allocations: 9 kB / 0.6785 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3996, allocations: 0 / 0.6785 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3996, allocations: 0 / 0.6785 GB, free: 14.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006173/0.4002, allocations: 443.3 kB / 0.679 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4003, allocations: 10.25 kB / 0.679 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.4003, allocations: 41.02 kB / 0.679 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008575/0.4012, allocations: 116.8 kB / 0.6791 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4013, allocations: 182.8 kB / 0.6793 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/0.4014, allocations: 62.36 kB / 0.6794 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.4015, allocations: 9.562 kB / 0.6794 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.402, allocations: 175.8 kB / 0.6795 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.402, allocations: 0 / 0.6795 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.402, allocations: 5.656 kB / 0.6795 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4021, allocations: 1.938 kB / 0.6796 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.4027, allocations: 156 kB / 0.6797 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4038, allocations: 484.8 kB / 0.6802 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.4049, allocations: 215.6 kB / 0.6804 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.4052, allocations: 83.28 kB / 0.6804 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4053, allocations: 1 kB / 0.6804 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4053, allocations: 43.8 kB / 0.6805 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4053, allocations: 1 kB / 0.6805 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001073/0.4064, allocations: 259.3 kB / 0.6807 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4064, allocations: 52.5 kB / 0.6808 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4066, allocations: 144.3 kB / 0.6809 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.4066, allocations: 26.83 kB / 0.681 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.4067, allocations: 110.1 kB / 0.6811 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4067, allocations: 26.05 kB / 0.6811 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.4068, allocations: 24.39 kB / 0.6811 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4069, allocations: 321 kB / 0.6814 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.4072, allocations: 68.95 kB / 0.6815 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.4076, allocations: 102.4 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.4082, allocations: 160.4 kB / 0.6817 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4082, allocations: 0 / 0.6817 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007155/0.409, allocations: 202 kB / 0.6819 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.409, allocations: 8.5 kB / 0.6819 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.409, allocations: 8 kB / 0.6819 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.409, allocations: 2.688 kB / 0.6819 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.4093, allocations: 37.83 kB / 0.682 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4093, allocations: 1.531 kB / 0.682 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.4095, allocations: 24.34 kB / 0.682 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.4095, allocations: 6.109 kB / 0.682 GB, free: 11.66 MB / 0.5137 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 (8): * Single equations (assignments): 8 * 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.0001095/0.4097, allocations: 118.5 kB / 0.6821 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.4097, allocations: 16.83 kB / 0.6821 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.4105, allocations: 215.3 kB / 0.6823 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4105, allocations: 5.25 kB / 0.6823 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4105, allocations: 0 / 0.6823 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4105, allocations: 0 / 0.6823 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.4108, allocations: 246.8 kB / 0.6826 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4108, allocations: 3.938 kB / 0.6826 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.411, allocations: 30.73 kB / 0.6826 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4111, allocations: 1.219 kB / 0.6826 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.4111, allocations: 9.062 kB / 0.6826 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4111, allocations: 3.984 kB / 0.6826 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4111, allocations: 0.9062 kB / 0.6826 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.4118, allocations: 278.7 kB / 0.6829 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.4119, allocations: 87.8 kB / 0.683 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4119, allocations: 5.469 kB / 0.683 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.4122, allocations: 36.14 kB / 0.683 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.4123, allocations: 6.156 kB / 0.683 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4123, allocations: 7.641 kB / 0.683 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.53e-05/0.4124, allocations: 106.7 kB / 0.6831 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4124, allocations: 0 / 0.6831 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002581/0.4127, allocations: 23.77 kB / 0.6832 GB, free: 10.66 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 (6): * Single equations (assignments): 6 * 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.001068/0.4137, allocations: 0.8153 MB / 0.6839 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006886/0.4144, allocations: 173.2 kB / 0.6841 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4144, allocations: 0 / 0.6841 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.4148, allocations: 86.61 kB / 0.6842 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.4151, allocations: 13.66 kB / 0.6842 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.4183, allocations: 1.836 MB / 0.686 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4187, allocations: 0.6986 MB / 0.6867 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.484e-05/0.4188, allocations: 14.59 kB / 0.6867 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.4188, allocations: 31.23 kB / 0.6867 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4189, allocations: 0 / 0.6867 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.4422, allocations: 2.768 MB / 0.6894 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.602, allocations: 17.83 kB / 0.6894 GB, free: 6.012 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)