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/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.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.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 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.001756/0.001756, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 1.066/1.066, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1582, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003549/0.1618, allocations: 1.766 MB / 0.5961 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1631, allocations: 0.6554 MB / 0.5967 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.1632, allocations: 0 / 0.5967 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.1633, allocations: 11.86 kB / 0.5968 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.1634, allocations: 15.81 kB / 0.5968 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.164, allocations: 176.6 kB / 0.5969 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1642, allocations: 119.7 kB / 0.5971 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1644, allocations: 49.09 kB / 0.5971 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1645, allocations: 63.7 kB / 0.5972 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.1646, allocations: 43.78 kB / 0.5972 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1647, allocations: 19.92 kB / 0.5972 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1648, allocations: 43.97 kB / 0.5973 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1649, allocations: 27.91 kB / 0.5973 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.1649, allocations: 63.7 kB / 0.5974 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1652, allocations: 147.8 kB / 0.5975 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1652, allocations: 0 / 0.5975 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1652, allocations: 3.938 kB / 0.5975 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.1652, allocations: 0 / 0.5975 GB, free: 6.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00066/0.1659, allocations: 437.1 kB / 0.5979 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1659, allocations: 8.031 kB / 0.5979 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.166, allocations: 42.73 kB / 0.598 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.1669, allocations: 112.7 kB / 0.5981 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.167, allocations: 188.1 kB / 0.5982 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1671, allocations: 67.89 kB / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1672, allocations: 8.375 kB / 0.5983 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.1677, allocations: 176 kB / 0.5985 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1677, allocations: 0 / 0.5985 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1677, allocations: 0 / 0.5985 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1678, allocations: 4 kB / 0.5985 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.1684, allocations: 155.8 kB / 0.5986 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.1696, allocations: 485.7 kB / 0.5991 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1706, allocations: 214.3 kB / 0.5993 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.1709, allocations: 84.84 kB / 0.5994 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.171, allocations: 4 kB / 0.5994 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.171, allocations: 42.55 kB / 0.5994 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.171, allocations: 0 / 0.5994 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001036/0.1721, allocations: 253.5 kB / 0.5997 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1721, allocations: 55.41 kB / 0.5997 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1722, allocations: 152.6 kB / 0.5999 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1723, allocations: 25.7 kB / 0.5999 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.1723, allocations: 108.2 kB / 0.6 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1724, allocations: 27.64 kB / 0.6 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.1724, allocations: 21.7 kB / 0.6 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1726, allocations: 326.8 kB / 0.6004 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1729, allocations: 79.86 kB / 0.6004 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.1732, allocations: 94.48 kB / 0.6005 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.1738, allocations: 158.4 kB / 0.6007 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1738, allocations: 0 / 0.6007 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006818/0.1745, allocations: 205.4 kB / 0.6009 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1745, allocations: 4 kB / 0.6009 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1745, allocations: 4.25 kB / 0.6009 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1746, allocations: 7.938 kB / 0.6009 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1749, allocations: 43.88 kB / 0.6009 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1749, allocations: 4 kB / 0.6009 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1751, allocations: 28.03 kB / 0.601 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1751, allocations: 11.98 kB / 0.601 GB, free: 2.469 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 (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.000111/0.1753, allocations: 113.8 kB / 0.6011 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1753, allocations: 7.906 kB / 0.6011 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.176, allocations: 210.1 kB / 0.6013 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1761, allocations: 0 / 0.6013 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1761, allocations: 0 / 0.6013 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1761, allocations: 0 / 0.6013 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1763, allocations: 234.3 kB / 0.6015 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1763, allocations: 4 kB / 0.6015 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1766, allocations: 35.95 kB / 0.6016 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1766, allocations: 4 kB / 0.6016 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1766, allocations: 3.938 kB / 0.6016 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1766, allocations: 0 / 0.6016 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1766, allocations: 3.984 kB / 0.6016 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.1773, allocations: 283.2 kB / 0.6018 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1774, allocations: 89 kB / 0.6019 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1774, allocations: 3.938 kB / 0.6019 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1777, allocations: 31.95 kB / 0.602 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1778, allocations: 4 kB / 0.602 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1778, allocations: 11.98 kB / 0.602 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.1779, allocations: 103.2 kB / 0.6021 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.793e-06/0.1779, allocations: 0 / 0.6021 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002607/0.1781, allocations: 27.94 kB / 0.6021 GB, free: 1.219 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 (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.001023/0.1792, allocations: 0.8139 MB / 0.6029 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.1799, allocations: 171.8 kB / 0.6031 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1799, allocations: 0 / 0.6031 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.1802, allocations: 83.86 kB / 0.6031 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1805, allocations: 11.98 kB / 0.6031 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2521/0.4326, allocations: 1.812 MB / 0.6049 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.4328, allocations: 0.6995 MB / 0.6056 GB, free: 42.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.4329, allocations: 20 kB / 0.6056 GB, free: 42.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.433, allocations: 30.62 kB / 0.6056 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.433, allocations: 0.5625 kB / 0.6056 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.4519, allocations: 2.727 MB / 0.6083 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.208, allocations: 16.25 kB / 0.6083 GB, free: 42.02 MB / 0.4981 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)