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/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006825/0.0006826, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007394/0.0007394, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 223.3 MB / 240 MB, free: 5.426 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.885/0.885, allocations: 143.2 MB / 434.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 12 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 83.41 MB / 0.5972 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001628/0.135, allocations: 1.171 MB / 0.5984 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.1359, allocations: 0.5234 MB / 0.5989 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.136, allocations: 0 / 0.5989 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.136, allocations: 7.875 kB / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.1361, allocations: 0 / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1364, allocations: 39.89 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.1364, allocations: 31.88 kB / 0.599 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.1365, allocations: 3.984 kB / 0.599 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.1366, allocations: 8 kB / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.1367, allocations: 19.91 kB / 0.599 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1367, allocations: 0 / 0.599 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1368, allocations: 43.95 kB / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1369, allocations: 4 kB / 0.5991 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.1369, allocations: 33.64 kB / 0.5991 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.137, allocations: 43.92 kB / 0.5991 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.137, allocations: 4 kB / 0.5991 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.137, allocations: 0 / 0.5991 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.137, allocations: 0 / 0.5991 GB, free: 6.105 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.0003926/0.1374, allocations: 343.5 kB / 0.5995 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1375, allocations: 12.03 kB / 0.5995 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1375, allocations: 3.906 kB / 0.5995 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1376, allocations: 175 kB / 0.5996 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1377, allocations: 0 / 0.5996 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1377, allocations: 4 kB / 0.5996 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1378, allocations: 45.69 kB / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1378, allocations: 0 / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1378, allocations: 0 / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1379, allocations: 3.938 kB / 0.5997 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.1379, allocations: 23.98 kB / 0.5997 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.1383, allocations: 264.9 kB / 0.6 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.1383, allocations: 34.5 kB / 0.6 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.1384, allocations: 12.92 kB / 0.6 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.1391, allocations: 0.5014 MB / 0.6005 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1391, allocations: 34.5 kB / 0.6005 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1391, allocations: 0 / 0.6005 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.1394, allocations: 73.61 kB / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1394, allocations: 51.41 kB / 0.6007 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.1395, allocations: 117.8 kB / 0.6008 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1395, allocations: 25.7 kB / 0.6008 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.1395, allocations: 88.14 kB / 0.6009 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1396, allocations: 3.906 kB / 0.6009 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.1396, allocations: 0 / 0.6009 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.1397, allocations: 314.8 kB / 0.6012 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.1397, allocations: 12 kB / 0.6012 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.1397, allocations: 15.98 kB / 0.6012 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.1398, allocations: 15.94 kB / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1398, allocations: 0 / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.1399, allocations: 53.69 kB / 0.6013 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1399, allocations: 8 kB / 0.6013 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.14, allocations: 3.984 kB / 0.6013 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.14, allocations: 96 / 0.6013 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.14, allocations: 8 kB / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1401, allocations: 0 / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.1401, allocations: 4 kB / 0.6013 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.1401, allocations: 3.953 kB / 0.6013 GB, free: 3.574 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.1402, allocations: 117.8 kB / 0.6014 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1402, allocations: 0 / 0.6014 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.1404, allocations: 69.14 kB / 0.6015 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1404, allocations: 0 / 0.6015 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1404, allocations: 4 kB / 0.6015 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1404, allocations: 0 / 0.6015 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1405, allocations: 165.5 kB / 0.6016 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1406, allocations: 0 / 0.6016 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1406, allocations: 11.98 kB / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1406, allocations: 0 / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1406, allocations: 0 / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1406, allocations: 7.969 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1406, allocations: 4 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1408, allocations: 163.4 kB / 0.6018 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.1408, allocations: 81.11 kB / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1409, allocations: 0 / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.1409, allocations: 8.031 kB / 0.6019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.1409, allocations: 0 / 0.6019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.141, allocations: 3.984 kB / 0.6019 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.141, allocations: 87.28 kB / 0.602 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 0 / 0.602 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000216/0.1412, allocations: 16 kB / 0.602 GB, free: 2.746 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.1414, allocations: 111.2 kB / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.1415, allocations: 27.98 kB / 0.6021 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1415, allocations: 0 / 0.6021 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.1416, allocations: 23.92 kB / 0.6022 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.1418, allocations: 3.953 kB / 0.6022 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.142, allocations: 136.7 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1423, allocations: 0.6809 MB / 0.603 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.1423, allocations: 4.531 kB / 0.603 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.1423, allocations: 11.42 kB / 0.603 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1423, allocations: 3.938 kB / 0.603 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.002298/0.1446, allocations: 0.6479 MB / 0.6036 GB, free: 1.043 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)