Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2419/0.2454, allocations: 80.84 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001789/0.2473, allocations: 0.5431 MB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2487, allocations: 0.9686 MB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.2487, allocations: 4 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.2487, allocations: 0 / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.714e-06/0.2487, allocations: 3.938 kB / 0.6721 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.2491, allocations: 63.75 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.2492, allocations: 0 / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.2492, allocations: 0 / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.2493, allocations: 4 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.2493, allocations: 3.938 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.2493, allocations: 0 / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.2495, allocations: 91.89 kB / 0.6723 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.2496, allocations: 7.984 kB / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.2496, allocations: 4 kB / 0.6723 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2497, allocations: 43.94 kB / 0.6723 GB, free: 252 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2497, allocations: 0 / 0.6723 GB, free: 252 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2497, allocations: 0 / 0.6723 GB, free: 252 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2497, allocations: 0 / 0.6723 GB, free: 252 kB / 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.0003726/0.2501, allocations: 327.6 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2502, allocations: 8.031 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.2502, allocations: 0.9375 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.2503, allocations: 168.3 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2503, allocations: 4.375 kB / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2503, allocations: 384 / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.2504, allocations: 37.56 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2504, allocations: 4 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2504, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2505, allocations: 4 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.2505, allocations: 0 / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.2506, allocations: 145.7 kB / 0.673 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.251e-05/0.2507, allocations: 26.59 kB / 0.673 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.2507, allocations: 4.859 kB / 0.673 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.2515, allocations: 0.57 MB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2515, allocations: 34.5 kB / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.2515, allocations: 0 / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.2517, allocations: 37.7 kB / 0.6737 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2517, allocations: 51.41 kB / 0.6737 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.93e-05/0.2518, allocations: 89.86 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2518, allocations: 25.7 kB / 0.6738 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.2518, allocations: 80.14 kB / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.2519, allocations: 7.984 kB / 0.6739 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.2519, allocations: 13.72 kB / 0.6739 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.252, allocations: 315 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.2521, allocations: 0 / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.2521, allocations: 0 / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.2521, allocations: 12.8 kB / 0.6742 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2521, allocations: 3.938 kB / 0.6742 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.245e-05/0.2522, allocations: 41.64 kB / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2522, allocations: 7.984 kB / 0.6743 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2522, allocations: 0 / 0.6743 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2522, allocations: 0 / 0.6743 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.607e-05/0.2523, allocations: 8.094 kB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2523, allocations: 0 / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.2523, allocations: 0 / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2523, allocations: 0 / 0.6743 GB, free: 13.89 MB / 0.5137 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 0.0001289/0.2525, allocations: 109.8 kB / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.2525, allocations: 3.938 kB / 0.6744 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.2526, allocations: 52.66 kB / 0.6744 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2526, allocations: 4.031 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2526, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2526, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/0.2527, allocations: 141.7 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2527, allocations: 4 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.2527, allocations: 3.938 kB / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2527, allocations: 3.984 kB / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.2527, allocations: 0 / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2527, allocations: 0 / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2528, allocations: 4 kB / 0.6746 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.279e-05/0.2528, allocations: 65.02 kB / 0.6747 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2529, allocations: 81.05 kB / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2529, allocations: 3.984 kB / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.2529, allocations: 8 kB / 0.6748 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.2529, allocations: 0 / 0.6748 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.2529, allocations: 0 / 0.6748 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.253, allocations: 75.28 kB / 0.6748 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 4.031 kB / 0.6748 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002022/0.2532, allocations: 4 kB / 0.6748 GB, free: 13.23 MB / 0.5137 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.0001749/0.2534, allocations: 103.2 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.866e-05/0.2535, allocations: 7.984 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2535, allocations: 4 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-06/0.2535, allocations: 3.938 kB / 0.6749 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2536, allocations: 0 / 0.6749 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.2539, allocations: 89 kB / 0.675 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.2542, allocations: 0.6729 MB / 0.6757 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.2542, allocations: 3.984 kB / 0.6757 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.2542, allocations: 7.438 kB / 0.6757 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2542, allocations: 0 / 0.6757 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.002464/0.2567, allocations: 296.5 kB / 0.676 GB, free: 11.99 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)