Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 174.1 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.5783 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008942, allocations: 91.44 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003598, allocations: 16.41 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 106.4 MB / 0.9008 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007116/0.2342, allocations: 322.5 kB / 0.9012 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2358, allocations: 1.235 MB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.2358, allocations: 0 / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.2358, allocations: 0 / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.2358, allocations: 0 / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.2362, allocations: 43.89 kB / 0.9024 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.2362, allocations: 7.984 kB / 0.9024 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.2363, allocations: 3.984 kB / 0.9024 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.2363, allocations: 4 kB / 0.9024 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.2364, allocations: 0 / 0.9024 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.2364, allocations: 0 / 0.9024 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.2366, allocations: 87.91 kB / 0.9025 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.2366, allocations: 3.984 kB / 0.9025 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.2366, allocations: 33.64 kB / 0.9025 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.2367, allocations: 35.91 kB / 0.9026 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2367, allocations: 0 / 0.9026 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2368, allocations: 0 / 0.9026 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2368, allocations: 0 / 0.9026 GB, free: 62.47 MB / 0.6042 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.0002584/0.237, allocations: 315.4 kB / 0.9029 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2371, allocations: 8.031 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.2371, allocations: 15.91 kB / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.2372, allocations: 167 kB / 0.9031 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2372, allocations: 3.938 kB / 0.9031 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2372, allocations: 0 / 0.9031 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2373, allocations: 25.7 kB / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2373, allocations: 0 / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.2374, allocations: 4 kB / 0.9031 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2374, allocations: 0 / 0.9031 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.2374, allocations: 3.938 kB / 0.9031 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.2375, allocations: 153.6 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.851e-05/0.2375, allocations: 22.61 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.2376, allocations: 4.859 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.238, allocations: 0.5584 MB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.238, allocations: 30.56 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.238, allocations: 4 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.2382, allocations: 45.62 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.2382, allocations: 51.41 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.004e-05/0.2382, allocations: 89.86 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.2382, allocations: 25.7 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.2383, allocations: 80.14 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.2383, allocations: 0 / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.2383, allocations: 0 / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2384, allocations: 322.9 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.2384, allocations: 0 / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.2384, allocations: 0 / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.804e-05/0.2384, allocations: 8 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2384, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.973e-05/0.2385, allocations: 37.62 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2385, allocations: 10.59 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2385, allocations: 0 / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2385, allocations: 0 / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.2386, allocations: 8.094 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2386, allocations: 0 / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.2386, allocations: 0 / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.2386, allocations: 0 / 0.9045 GB, free: 60.16 MB / 0.6042 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 5.651e-05/0.2387, allocations: 113.8 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2387, allocations: 3.984 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2388, allocations: 40.81 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2388, allocations: 4.031 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2388, allocations: 0 / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2388, allocations: 0 / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.228e-05/0.2389, allocations: 153.6 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2389, allocations: 0 / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.2389, allocations: 0 / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2389, allocations: 7.875 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2389, allocations: 8 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.239, allocations: 0 / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.239, allocations: 0 / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.37e-05/0.239, allocations: 61.12 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.239, allocations: 85.06 kB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.2391, allocations: 0 / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-06/0.2391, allocations: 0 / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.2391, allocations: 0 / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.2391, allocations: 0 / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.476e-05/0.2391, allocations: 79.31 kB / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2391, allocations: 0 / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002012/0.2393, allocations: 16.03 kB / 0.905 GB, free: 59.5 MB / 0.6042 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.0001493/0.2395, allocations: 103.2 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.2396, allocations: 7.938 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2396, allocations: 4 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.2396, allocations: 4 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.2397, allocations: 0 / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.2399, allocations: 104.4 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.24, allocations: 0.677 MB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.24, allocations: 7.438 kB / 0.9059 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.24, allocations: 0 / 0.9059 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.001701/0.2418, allocations: 415.7 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)