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.00123/0.00123, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001315/0.001316, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.246/1.246, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.8026/0.8026, allocations: 143.1 MB / 434.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.5148 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 82.03 MB / 0.595 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001639/0.3006, allocations: 0.5718 MB / 0.5955 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3017, allocations: 1.257 MB / 0.5967 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.3017, allocations: 0 / 0.5967 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.3017, allocations: 0 / 0.5967 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-06/0.3017, allocations: 0.7812 kB / 0.5967 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3021, allocations: 72.47 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.596e-05/0.3021, allocations: 0 / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.3021, allocations: 1.219 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.3022, allocations: 4 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.3022, allocations: 3.984 kB / 0.5968 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.3022, allocations: 0.5 kB / 0.5968 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3024, allocations: 97.05 kB / 0.5969 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.3024, allocations: 0 / 0.5969 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.3024, allocations: 0 / 0.5969 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3025, allocations: 51.94 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3026, allocations: 1.156 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3026, allocations: 0 / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3026, allocations: 3.938 kB / 0.597 GB, free: 14.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002053/0.3028, allocations: 331.2 kB / 0.5973 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.3028, allocations: 9.938 kB / 0.5973 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.3029, allocations: 0.9375 kB / 0.5973 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.532e-05/0.3029, allocations: 160.4 kB / 0.5974 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.3029, allocations: 4.312 kB / 0.5974 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.3029, allocations: 9.797 kB / 0.5975 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.303, allocations: 30.02 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.303, allocations: 0 / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.303, allocations: 0.5938 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.303, allocations: 0 / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.61e-05/0.3031, allocations: 4.625 kB / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.715e-05/0.3031, allocations: 147 kB / 0.5976 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.952e-05/0.3032, allocations: 22.55 kB / 0.5977 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.3032, allocations: 14.25 kB / 0.5977 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.3036, allocations: 0.5598 MB / 0.5982 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3036, allocations: 34.5 kB / 0.5982 GB, free: 12.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3036, allocations: 0.8125 kB / 0.5982 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000112/0.3037, allocations: 42.95 kB / 0.5983 GB, free: 12.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.3038, allocations: 55.34 kB / 0.5983 GB, free: 12.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.778e-05/0.3038, allocations: 91.61 kB / 0.5984 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-06/0.3038, allocations: 25.7 kB / 0.5985 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.084e-05/0.3038, allocations: 80.14 kB / 0.5985 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3038, allocations: 7.906 kB / 0.5985 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3039, allocations: 15.59 kB / 0.5986 GB, free: 12.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.3039, allocations: 314.8 kB / 0.5989 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.3039, allocations: 0 / 0.5989 GB, free: 11.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.3039, allocations: 4 kB / 0.5989 GB, free: 11.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.304, allocations: 14.28 kB / 0.5989 GB, free: 11.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.304, allocations: 0 / 0.5989 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.095e-05/0.304, allocations: 38.52 kB / 0.5989 GB, free: 11.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.304, allocations: 7.938 kB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.304, allocations: 1.5 kB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3041, allocations: 0 / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.3041, allocations: 7.938 kB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3041, allocations: 0 / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.3041, allocations: 4.844 kB / 0.5989 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3041, allocations: 0 / 0.5989 GB, free: 11.79 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 (1): * Single equations (assignments): 1 * 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 3.8e-05/0.3042, allocations: 111 kB / 0.599 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.3042, allocations: 7.938 kB / 0.599 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.3043, allocations: 38.33 kB / 0.5991 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3043, allocations: 0.6875 kB / 0.5991 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3043, allocations: 0 / 0.5991 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.3043, allocations: 1.438 kB / 0.5991 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.046e-05/0.3044, allocations: 149.7 kB / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3044, allocations: 0 / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.3044, allocations: 0 / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3044, allocations: 5.406 kB / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.3044, allocations: 0 / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3044, allocations: 0 / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3044, allocations: 4 kB / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.59e-05/0.3045, allocations: 63.12 kB / 0.5993 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.3045, allocations: 79.08 kB / 0.5994 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.3045, allocations: 3.938 kB / 0.5994 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.3045, allocations: 5.5 kB / 0.5994 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.3045, allocations: 0 / 0.5994 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3045, allocations: 0 / 0.5994 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.005e-05/0.3045, allocations: 76.03 kB / 0.5994 GB, free: 11.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3045, allocations: 0 / 0.5994 GB, free: 11.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.3047, allocations: 5.5 kB / 0.5995 GB, free: 11.17 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 (1): * Single equations (assignments): 1 * 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.0001316/0.3049, allocations: 115.2 kB / 0.5996 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.092e-05/0.3049, allocations: 12.56 kB / 0.5996 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3049, allocations: 1.906 kB / 0.5996 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.305, allocations: 4 kB / 0.5996 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3051, allocations: 0 / 0.5996 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001482/0.3052, allocations: 104.8 kB / 0.5997 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.3053, allocations: 0.6729 MB / 0.6003 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.3054, allocations: 7.438 kB / 0.6003 GB, free: 10.19 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3054, allocations: 0 / 0.6003 GB, free: 10.19 MB / 446.1 MB Notification: Performance of Templates: time 0.001584/0.3069, allocations: 447.8 kB / 0.6008 GB, free: 9.777 MB / 446.1 MB 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)