Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008244/0.0008246, 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.0009109/0.0009111, 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.171/1.171, allocations: 223.2 MB / 240 MB, free: 5.418 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.8597/0.8597, allocations: 143.2 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 11.98 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 83.42 MB / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005449/0.1303, allocations: 307 kB / 0.5976 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1315, allocations: 1.206 MB / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.735e-06/0.1315, allocations: 0 / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.357e-06/0.1315, allocations: 0 / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.1316, allocations: 3.938 kB / 0.5987 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1318, allocations: 51.88 kB / 0.5988 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.833e-05/0.1318, allocations: 4 kB / 0.5988 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.1319, allocations: 4 kB / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.124e-05/0.1319, allocations: 0 / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.1319, allocations: 0 / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.1319, allocations: 4 kB / 0.5988 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.1321, allocations: 91.89 kB / 0.5989 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-06/0.1321, allocations: 3.938 kB / 0.5989 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.1322, allocations: 25.7 kB / 0.5989 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.1322, allocations: 39.95 kB / 0.599 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1322, allocations: 0 / 0.599 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1323, allocations: 0 / 0.599 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1323, allocations: 0 / 0.599 GB, free: 6.312 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002266/0.1325, allocations: 323.4 kB / 0.5993 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1325, allocations: 12.03 kB / 0.5993 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.1326, allocations: 0 / 0.5993 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.1326, allocations: 167 kB / 0.5994 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.1327, allocations: 0 / 0.5994 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1327, allocations: 0 / 0.5994 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.1327, allocations: 29.7 kB / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1328, allocations: 0 / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.1328, allocations: 0 / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1328, allocations: 4 kB / 0.5995 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.1328, allocations: 3.938 kB / 0.5995 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.1329, allocations: 153.6 kB / 0.5996 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.992e-05/0.1329, allocations: 18.56 kB / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.148e-05/0.133, allocations: 4.859 kB / 0.5996 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/0.1334, allocations: 0.5662 MB / 0.6002 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.1335, allocations: 34.55 kB / 0.6002 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1335, allocations: 0 / 0.6002 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001018/0.1336, allocations: 37.64 kB / 0.6003 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1336, allocations: 55.34 kB / 0.6003 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.76e-05/0.1336, allocations: 89.86 kB / 0.6004 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1337, allocations: 29.7 kB / 0.6004 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.1337, allocations: 84.27 kB / 0.6005 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1337, allocations: 7.844 kB / 0.6005 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-06/0.1337, allocations: 0 / 0.6005 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.1338, allocations: 314.8 kB / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.1338, allocations: 0 / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-06/0.1338, allocations: 0 / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.463e-05/0.1338, allocations: 7.938 kB / 0.6008 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1339, allocations: 4 kB / 0.6008 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.34e-05/0.1339, allocations: 37.7 kB / 0.6009 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.1339, allocations: 4 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1339, allocations: 0 / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.1339, allocations: 0 / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.134, allocations: 4 kB / 0.6009 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-06/0.134, allocations: 0 / 0.6009 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-06/0.134, allocations: 0 / 0.6009 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.134, allocations: 0 / 0.6009 GB, free: 4.004 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 (1): * Single equations (assignments): 1 * 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.14e-05/0.1341, allocations: 117.8 kB / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.1341, allocations: 8.016 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.1342, allocations: 32.83 kB / 0.601 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1342, allocations: 0 / 0.601 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1342, allocations: 3.984 kB / 0.601 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.1342, allocations: 0 / 0.601 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.678e-05/0.1343, allocations: 153.7 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1343, allocations: 3.953 kB / 0.6012 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.1343, allocations: 3.938 kB / 0.6012 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1343, allocations: 4.031 kB / 0.6012 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1343, allocations: 4 kB / 0.6012 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1343, allocations: 0 / 0.6012 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1343, allocations: 0 / 0.6012 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.105e-05/0.1344, allocations: 53.12 kB / 0.6012 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.1344, allocations: 81.34 kB / 0.6013 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.1344, allocations: 8 kB / 0.6013 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.1344, allocations: 4 kB / 0.6013 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.1344, allocations: 7.969 kB / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-06/0.1345, allocations: 0 / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.062e-05/0.1345, allocations: 75.28 kB / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1345, allocations: 0 / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001647/0.1346, allocations: 12 kB / 0.6014 GB, free: 3.344 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 (1): * Single equations (assignments): 1 * 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.0001254/0.1348, allocations: 103.2 kB / 0.6015 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.716e-05/0.1348, allocations: 7.938 kB / 0.6015 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1348, allocations: 4.062 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.1349, allocations: 4 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.135, allocations: 7.875 kB / 0.6015 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000122/0.1351, allocations: 81.56 kB / 0.6016 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.1353, allocations: 0.6731 MB / 0.6023 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.1353, allocations: 0 / 0.6023 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.1353, allocations: 7.438 kB / 0.6023 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1353, allocations: 4.062 kB / 0.6023 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.001789/0.1371, allocations: 292.1 kB / 0.6026 GB, free: 2.109 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)