Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.549/2.549, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 174 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.5767 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 91.91 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006941/0.0006943, allocations: 16.09 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.242, allocations: 106.3 MB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007626/0.2428, allocations: 330.6 kB / 0.8994 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2442, allocations: 0.9501 MB / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.2442, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.2442, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-06/0.2443, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.2446, allocations: 47.83 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.842e-05/0.2446, allocations: 0 / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.2447, allocations: 4 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.2447, allocations: 0 / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.2448, allocations: 7.984 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.2448, allocations: 0 / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.245, allocations: 79.91 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.245, allocations: 11.92 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.2451, allocations: 25.7 kB / 0.9005 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2452, allocations: 31.97 kB / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2452, allocations: 0 / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2452, allocations: 0 / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2453, allocations: 4 kB / 0.9005 GB, free: 64.35 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.0002557/0.2455, allocations: 325 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2456, allocations: 8.031 kB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.2456, allocations: 0.9375 kB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.741e-05/0.2457, allocations: 160.4 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2457, allocations: 8.312 kB / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2457, allocations: 384 / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.2458, allocations: 30.25 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2458, allocations: 192 / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2459, allocations: 11.88 kB / 0.901 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.2459, allocations: 0 / 0.901 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.2459, allocations: 4 kB / 0.901 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.246, allocations: 145.7 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.2461, allocations: 22.55 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.2461, allocations: 4.859 kB / 0.9012 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.2467, allocations: 0.5662 MB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2467, allocations: 30.56 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.2467, allocations: 0 / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.2469, allocations: 41.55 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2469, allocations: 51.41 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.263e-05/0.247, allocations: 89.86 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.247, allocations: 25.7 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.247, allocations: 84.27 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.247, allocations: 3.984 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.2471, allocations: 0 / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.2471, allocations: 314.8 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.2472, allocations: 7.938 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-06/0.2472, allocations: 3.938 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.996e-05/0.2472, allocations: 0 / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2472, allocations: 0 / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.926e-05/0.2473, allocations: 37.77 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2473, allocations: 4 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2473, allocations: 0 / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2473, allocations: 3.938 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.2474, allocations: 7.984 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2474, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.2474, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2475, allocations: 0 / 0.9024 GB, free: 62.04 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.583e-05/0.2475, allocations: 105.8 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.2475, allocations: 8.031 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.2477, allocations: 48.69 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2477, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2477, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2477, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.42e-05/0.2478, allocations: 145.7 kB / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2478, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.2478, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2478, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2478, allocations: 7.969 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2479, allocations: 4 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2479, allocations: 3.984 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.81e-05/0.2479, allocations: 61.02 kB / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.248, allocations: 77.11 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.248, allocations: 11.94 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.285e-05/0.248, allocations: 0 / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.2481, allocations: 8.016 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2481, allocations: 0 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.638e-05/0.2481, allocations: 75.28 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2481, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002304/0.2483, allocations: 4 kB / 0.9029 GB, free: 61.39 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.0001671/0.2485, allocations: 117.4 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.2486, allocations: 4 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2486, allocations: 4 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.2486, allocations: 7.938 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2488, allocations: 4 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.249, allocations: 74.66 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2491, allocations: 0.6692 MB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.2491, allocations: 4 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.2492, allocations: 7.438 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/0.2492, allocations: 4.062 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.002558/0.2517, allocations: 287.9 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)