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.001388/0.001388, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001762/0.001762, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.12/1.12, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 59.91 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2319, allocations: 82.04 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002076/0.2341, allocations: 0.6349 MB / 0.5942 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2361, allocations: 1.264 MB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.104e-05/0.2362, allocations: 0 / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.2362, allocations: 0 / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.2362, allocations: 4 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.2366, allocations: 47.83 kB / 0.5955 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.676e-05/0.2366, allocations: 0 / 0.5955 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.2367, allocations: 0 / 0.5955 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.2367, allocations: 4 kB / 0.5955 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.2368, allocations: 0 / 0.5955 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.2368, allocations: 4 kB / 0.5955 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.237, allocations: 107.9 kB / 0.5956 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.237, allocations: 3.938 kB / 0.5956 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.2371, allocations: 0 / 0.5956 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.2372, allocations: 51.94 kB / 0.5957 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2372, allocations: 3.938 kB / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2372, allocations: 0 / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2372, allocations: 0 / 0.5957 GB, free: 7.906 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.000314/0.2376, allocations: 323.6 kB / 0.596 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2376, allocations: 8.031 kB / 0.596 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.2377, allocations: 4.938 kB / 0.596 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.2378, allocations: 160.4 kB / 0.5962 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2378, allocations: 384 / 0.5962 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.2378, allocations: 384 / 0.5962 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2379, allocations: 45.94 kB / 0.5962 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2379, allocations: 0 / 0.5962 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2379, allocations: 0 / 0.5962 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2379, allocations: 0 / 0.5962 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.238, allocations: 4 kB / 0.5962 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2381, allocations: 145.7 kB / 0.5964 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.2382, allocations: 14.58 kB / 0.5964 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.2382, allocations: 16.94 kB / 0.5964 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.2388, allocations: 0.5583 MB / 0.5969 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2389, allocations: 38.5 kB / 0.597 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2389, allocations: 0 / 0.597 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.239, allocations: 41.69 kB / 0.597 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2391, allocations: 51.41 kB / 0.5971 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.463e-05/0.2391, allocations: 93.8 kB / 0.5971 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2391, allocations: 25.7 kB / 0.5972 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.2392, allocations: 84.12 kB / 0.5973 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.2392, allocations: 3.906 kB / 0.5973 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.2392, allocations: 17.84 kB / 0.5973 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2394, allocations: 310.8 kB / 0.5976 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.2394, allocations: 0 / 0.5976 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-06/0.2394, allocations: 3.938 kB / 0.5976 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.2394, allocations: 16.84 kB / 0.5976 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2394, allocations: 0 / 0.5976 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.919e-05/0.2395, allocations: 33.7 kB / 0.5976 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2395, allocations: 7.938 kB / 0.5976 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2395, allocations: 4.094 kB / 0.5976 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2395, allocations: 0 / 0.5976 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.2396, allocations: 4 kB / 0.5976 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2396, allocations: 0 / 0.5976 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.2396, allocations: 0 / 0.5976 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2396, allocations: 0 / 0.5976 GB, free: 5.566 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 8.486e-05/0.2397, allocations: 105.8 kB / 0.5977 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.2397, allocations: 15.84 kB / 0.5978 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.358e-05/0.2398, allocations: 48.77 kB / 0.5978 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2398, allocations: 0 / 0.5978 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2398, allocations: 0 / 0.5978 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2399, allocations: 0 / 0.5978 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.185e-05/0.24, allocations: 145.7 kB / 0.5979 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.24, allocations: 0 / 0.5979 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.24, allocations: 4 kB / 0.5979 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.24, allocations: 7.938 kB / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.24, allocations: 0 / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.24, allocations: 0 / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.24, allocations: 8.016 kB / 0.598 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.2401, allocations: 65.06 kB / 0.598 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.2401, allocations: 77.39 kB / 0.5981 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.2401, allocations: 3.938 kB / 0.5981 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.2402, allocations: 0 / 0.5981 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.2402, allocations: 4 kB / 0.5981 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.2402, allocations: 3.938 kB / 0.5981 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.2402, allocations: 79.31 kB / 0.5982 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2402, allocations: 0 / 0.5982 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002001/0.2404, allocations: 4 kB / 0.5982 GB, free: 4.906 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.0001889/0.2406, allocations: 111.2 kB / 0.5983 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.2407, allocations: 8 kB / 0.5983 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2407, allocations: 0 / 0.5983 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-06/0.2407, allocations: 7.938 kB / 0.5983 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2409, allocations: 8.062 kB / 0.5983 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.241, allocations: 74.75 kB / 0.5984 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2413, allocations: 0.6731 MB / 0.599 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.2413, allocations: 0 / 0.599 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.2413, allocations: 7.438 kB / 0.599 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2413, allocations: 0 / 0.599 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of Templates: time 0.002277/0.2436, allocations: 296.7 kB / 0.5993 GB, free: 3.668 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)