Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 104.8 kB / 16.27 MB, free: 6.004 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.002023/0.002024, allocations: 187.3 kB / 17.2 MB, free: 5.613 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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 0.905/0.905, allocations: 143.3 MB / 434.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002735, allocations: 67.89 kB / 0.5151 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.359, allocations: 82.03 MB / 0.5952 GB, free: 16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002322/0.3613, allocations: 1.487 MB / 0.5966 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.3622, allocations: 0.6498 MB / 0.5973 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.3622, allocations: 0 / 0.5973 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.3623, allocations: 3.938 kB / 0.5973 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.3623, allocations: 4.906 kB / 0.5973 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3627, allocations: 77.02 kB / 0.5973 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.3627, allocations: 47.78 kB / 0.5974 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.3628, allocations: 17.48 kB / 0.5974 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.3629, allocations: 11.94 kB / 0.5974 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.363, allocations: 16.48 kB / 0.5974 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.363, allocations: 4 kB / 0.5974 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3631, allocations: 101.5 kB / 0.5975 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.3631, allocations: 11.94 kB / 0.5976 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.3632, allocations: 15.94 kB / 0.5976 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.3633, allocations: 89.72 kB / 0.5977 GB, free: 13.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3633, allocations: 1.344 kB / 0.5977 GB, free: 13.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3633, allocations: 0 / 0.5977 GB, free: 13.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.3633, allocations: 0 / 0.5977 GB, free: 13.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003517/0.3637, allocations: 364.1 kB / 0.598 GB, free: 13.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3637, allocations: 13.44 kB / 0.598 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3638, allocations: 0.9375 kB / 0.598 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.84e-05/0.3639, allocations: 176.2 kB / 0.5982 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3639, allocations: 384 / 0.5982 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3639, allocations: 13.75 kB / 0.5982 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.364, allocations: 50 kB / 0.5982 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3641, allocations: 0 / 0.5982 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3641, allocations: 8.75 kB / 0.5983 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3641, allocations: 0 / 0.5983 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.3642, allocations: 29.47 kB / 0.5983 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.3645, allocations: 285.7 kB / 0.5986 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.3645, allocations: 27.61 kB / 0.5986 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.3646, allocations: 20.91 kB / 0.5986 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.3649, allocations: 0.5559 MB / 0.5991 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3649, allocations: 39.2 kB / 0.5992 GB, free: 11.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.365, allocations: 1.375 kB / 0.5992 GB, free: 11.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.3652, allocations: 64.12 kB / 0.5992 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.3652, allocations: 55.41 kB / 0.5993 GB, free: 11.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.3653, allocations: 121.8 kB / 0.5994 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.3653, allocations: 25.7 kB / 0.5994 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.3653, allocations: 84.14 kB / 0.5995 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.3653, allocations: 13.33 kB / 0.5995 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.3654, allocations: 13.7 kB / 0.5995 GB, free: 11.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.3654, allocations: 322.7 kB / 0.5998 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.3655, allocations: 13.52 kB / 0.5999 GB, free: 10.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.3655, allocations: 8 kB / 0.5999 GB, free: 10.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.3656, allocations: 30.19 kB / 0.5999 GB, free: 10.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3656, allocations: 0 / 0.5999 GB, free: 10.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.3657, allocations: 58.59 kB / 0.6 GB, free: 10.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3657, allocations: 4 kB / 0.6 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3657, allocations: 5.031 kB / 0.6 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3657, allocations: 3.984 kB / 0.6 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.3658, allocations: 5.5 kB / 0.6 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3658, allocations: 0 / 0.6 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.3658, allocations: 3.938 kB / 0.6 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3659, allocations: 4 kB / 0.6 GB, free: 10.76 MB / 446.1 MB 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 5.791e-05/0.3659, allocations: 111.1 kB / 0.6001 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.366, allocations: 15.89 kB / 0.6001 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3661, allocations: 66.44 kB / 0.6002 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3661, allocations: 0 / 0.6002 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3661, allocations: 1.312 kB / 0.6002 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3661, allocations: 0 / 0.6002 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3662, allocations: 173.6 kB / 0.6003 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3662, allocations: 1.031 kB / 0.6003 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.3663, allocations: 4 kB / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3663, allocations: 4 kB / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3663, allocations: 1.031 kB / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3663, allocations: 0 / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3663, allocations: 0 / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3664, allocations: 158.3 kB / 0.6005 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.3665, allocations: 81.02 kB / 0.6006 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.3665, allocations: 0 / 0.6006 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.3666, allocations: 13.48 kB / 0.6006 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.3666, allocations: 0 / 0.6006 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.3666, allocations: 0 / 0.6006 GB, free: 10.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.401e-05/0.3666, allocations: 104.5 kB / 0.6007 GB, free: 9.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3666, allocations: 7.875 kB / 0.6007 GB, free: 9.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.3669, allocations: 11.94 kB / 0.6007 GB, free: 9.93 MB / 446.1 MB 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.000119/0.367, allocations: 104.5 kB / 0.6008 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3671, allocations: 29.31 kB / 0.6008 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3671, allocations: 0 / 0.6008 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.3672, allocations: 8 kB / 0.6008 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.3674, allocations: 7.578 kB / 0.6008 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.3677, allocations: 167 kB / 0.601 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.3678, allocations: 0.6768 MB / 0.6017 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.3678, allocations: 16.16 kB / 0.6017 GB, free: 8.871 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3678, allocations: 0 / 0.6017 GB, free: 8.871 MB / 446.1 MB Notification: Performance of Templates: time 0.002022/0.3698, allocations: 0.7196 MB / 0.6024 GB, free: 8.18 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)