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.0008484/0.0008484, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006354/0.006355, allocations: 170 kB / 16.26 MB, free: 6.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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.036/1.036, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005171, allocations: 15.98 kB / 0.5164 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2072, allocations: 83.4 MB / 0.5979 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009802/0.2083, allocations: 311 kB / 0.5982 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.21, allocations: 1.24 MB / 0.5994 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.065e-05/0.21, allocations: 3.938 kB / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.21, allocations: 0 / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.2101, allocations: 0 / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.2104, allocations: 53.7 kB / 0.5994 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.565e-05/0.2105, allocations: 4 kB / 0.5994 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.2105, allocations: 4 kB / 0.5994 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.2105, allocations: 3.984 kB / 0.5994 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.2106, allocations: 4 kB / 0.5994 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.2106, allocations: 0 / 0.5994 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.2109, allocations: 99.88 kB / 0.5995 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2109, allocations: 0 / 0.5995 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.211, allocations: 29.7 kB / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.2111, allocations: 51.94 kB / 0.5996 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2111, allocations: 3.938 kB / 0.5996 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2111, allocations: 0 / 0.5996 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2112, allocations: 4 kB / 0.5996 GB, free: 5.82 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.0003784/0.2115, allocations: 323.6 kB / 0.5999 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.2116, allocations: 8.031 kB / 0.5999 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.2116, allocations: 0.9375 kB / 0.5999 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2118, allocations: 160.4 kB / 0.6001 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2118, allocations: 4.375 kB / 0.6001 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2118, allocations: 8.297 kB / 0.6001 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2119, allocations: 30.02 kB / 0.6001 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.212, allocations: 0 / 0.6001 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.212, allocations: 4 kB / 0.6001 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.212, allocations: 4 kB / 0.6001 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.212, allocations: 3.984 kB / 0.6001 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.2122, allocations: 145.7 kB / 0.6003 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.2122, allocations: 18.61 kB / 0.6003 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.2123, allocations: 8.797 kB / 0.6003 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006844/0.213, allocations: 0.5701 MB / 0.6009 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.213, allocations: 34.5 kB / 0.6009 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.213, allocations: 0 / 0.6009 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.2132, allocations: 29.7 kB / 0.6009 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2132, allocations: 55.41 kB / 0.601 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.559e-05/0.2133, allocations: 89.86 kB / 0.6011 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.2133, allocations: 29.83 kB / 0.6011 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.2134, allocations: 84.12 kB / 0.6012 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.2134, allocations: 3.906 kB / 0.6012 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.2134, allocations: 13.72 kB / 0.6012 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2136, allocations: 310.8 kB / 0.6015 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.2136, allocations: 7.938 kB / 0.6015 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.2136, allocations: 3.938 kB / 0.6015 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.2136, allocations: 8.922 kB / 0.6015 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2136, allocations: 4 kB / 0.6015 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.793e-05/0.2137, allocations: 29.7 kB / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2137, allocations: 7.938 kB / 0.6015 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2137, allocations: 7.922 kB / 0.6016 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2137, allocations: 0 / 0.6016 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.2138, allocations: 4 kB / 0.6016 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2138, allocations: 0 / 0.6016 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.2138, allocations: 0 / 0.6016 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2138, allocations: 0 / 0.6016 GB, free: 3.484 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.2139, allocations: 121.8 kB / 0.6017 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.2139, allocations: 3.938 kB / 0.6017 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.214, allocations: 36.81 kB / 0.6017 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.214, allocations: 0 / 0.6017 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.214, allocations: 0 / 0.6017 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2141, allocations: 4 kB / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.2142, allocations: 149.7 kB / 0.6019 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2142, allocations: 0 / 0.6019 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.2142, allocations: 4.031 kB / 0.6019 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2142, allocations: 7.938 kB / 0.6019 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.2142, allocations: 3.984 kB / 0.6019 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2142, allocations: 0 / 0.6019 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2142, allocations: 0 / 0.6019 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.797e-05/0.2143, allocations: 53.08 kB / 0.6019 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2143, allocations: 81.39 kB / 0.602 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2144, allocations: 11.97 kB / 0.602 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.2144, allocations: 3.984 kB / 0.602 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.2144, allocations: 0 / 0.602 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2144, allocations: 0 / 0.602 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.337e-05/0.2144, allocations: 75.28 kB / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2144, allocations: 0 / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001792/0.2146, allocations: 8 kB / 0.6021 GB, free: 2.832 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 (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.0002111/0.2148, allocations: 103.2 kB / 0.6022 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.2149, allocations: 8 kB / 0.6022 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2149, allocations: 0 / 0.6022 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.2149, allocations: 11.92 kB / 0.6022 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.2151, allocations: 3.938 kB / 0.6022 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.2152, allocations: 82.7 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2156, allocations: 0.6692 MB / 0.6029 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.2157, allocations: 4.125 kB / 0.603 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.2157, allocations: 11.38 kB / 0.603 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 0 / 0.603 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.002415/0.2181, allocations: 292.6 kB / 0.6032 GB, free: 1.594 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)