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.5779/0.5787, allocations: 82.2 MB / 0.5935 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007279/0.5795, allocations: 284.8 kB / 0.5937 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.5807, allocations: 0.9369 MB / 0.5947 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.5807, allocations: 0 / 0.5947 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.5807, allocations: 0 / 0.5947 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.728e-06/0.5807, allocations: 4 kB / 0.5947 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.5811, allocations: 48.39 kB / 0.5947 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.5812, allocations: 10.2 kB / 0.5947 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.5812, allocations: 3.984 kB / 0.5947 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.5813, allocations: 3.938 kB / 0.5947 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.5813, allocations: 0 / 0.5947 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.5813, allocations: 0 / 0.5947 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.5815, allocations: 87.89 kB / 0.5948 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.5816, allocations: 0.6562 kB / 0.5948 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.5816, allocations: 26.61 kB / 0.5948 GB, free: 20.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.5817, allocations: 35.95 kB / 0.5949 GB, free: 20.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.5817, allocations: 0 / 0.5949 GB, free: 20.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5817, allocations: 2.594 kB / 0.5949 GB, free: 20.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.5817, allocations: 0 / 0.5949 GB, free: 20.07 MB / 446.1 MB 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.000301/0.582, allocations: 319.4 kB / 0.5952 GB, free: 19.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5821, allocations: 12.03 kB / 0.5952 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.5821, allocations: 0 / 0.5952 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.166e-05/0.5822, allocations: 167 kB / 0.5954 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5822, allocations: 0.5938 kB / 0.5954 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5822, allocations: 1.531 kB / 0.5954 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.5824, allocations: 33.66 kB / 0.5954 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5824, allocations: 0 / 0.5954 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.5824, allocations: 1.562 kB / 0.5954 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5824, allocations: 0 / 0.5954 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.5824, allocations: 0 / 0.5954 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.5826, allocations: 149.7 kB / 0.5955 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.5826, allocations: 24.39 kB / 0.5956 GB, free: 19.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.5826, allocations: 8.953 kB / 0.5956 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004784/0.5831, allocations: 0.5561 MB / 0.5961 GB, free: 18.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.5832, allocations: 36.45 kB / 0.5961 GB, free: 18.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5832, allocations: 0 / 0.5961 GB, free: 18.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.5833, allocations: 37.66 kB / 0.5962 GB, free: 18.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.5834, allocations: 51.41 kB / 0.5962 GB, free: 18.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.551e-05/0.5834, allocations: 96.42 kB / 0.5963 GB, free: 18.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.5834, allocations: 25.7 kB / 0.5963 GB, free: 18.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.5834, allocations: 88.08 kB / 0.5964 GB, free: 18.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.5835, allocations: 10.38 kB / 0.5964 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.5835, allocations: 0 / 0.5964 GB, free: 18.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.5836, allocations: 314.8 kB / 0.5967 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.5836, allocations: 2.125 kB / 0.5967 GB, free: 17.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.5836, allocations: 4 kB / 0.5967 GB, free: 17.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.5836, allocations: 7.984 kB / 0.5967 GB, free: 17.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5836, allocations: 0 / 0.5967 GB, free: 17.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.299e-05/0.5837, allocations: 30.23 kB / 0.5968 GB, free: 17.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5837, allocations: 9.094 kB / 0.5968 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5837, allocations: 0 / 0.5968 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5837, allocations: 3.953 kB / 0.5968 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.5838, allocations: 1.156 kB / 0.5968 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5838, allocations: 0 / 0.5968 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.5838, allocations: 8 kB / 0.5968 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.5838, allocations: 0.75 kB / 0.5968 GB, free: 17.77 MB / 446.1 MB 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 6.148e-05/0.5839, allocations: 114.8 kB / 0.5969 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.5839, allocations: 0 / 0.5969 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.584, allocations: 42.67 kB / 0.5969 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.584, allocations: 0 / 0.5969 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.584, allocations: 4.516 kB / 0.597 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.584, allocations: 0 / 0.597 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.083e-05/0.5841, allocations: 147.6 kB / 0.5971 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5841, allocations: 0 / 0.5971 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.5841, allocations: 4 kB / 0.5971 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5842, allocations: 0 / 0.5971 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.5842, allocations: 0 / 0.5971 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5842, allocations: 1.281 kB / 0.5971 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5842, allocations: 0 / 0.5971 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.699e-05/0.5842, allocations: 71.08 kB / 0.5972 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.5843, allocations: 77.11 kB / 0.5972 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.5843, allocations: 0 / 0.5972 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.5843, allocations: 0 / 0.5972 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.5843, allocations: 0.8438 kB / 0.5972 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.5843, allocations: 4 kB / 0.5972 GB, free: 17.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.5844, allocations: 80.08 kB / 0.5973 GB, free: 17.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.213e-06/0.5844, allocations: 0 / 0.5973 GB, free: 17.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.5846, allocations: 8.562 kB / 0.5973 GB, free: 17.13 MB / 446.1 MB 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.0001511/0.5847, allocations: 112.8 kB / 0.5974 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.5848, allocations: 4 kB / 0.5974 GB, free: 17.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5848, allocations: 4.438 kB / 0.5974 GB, free: 17.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.5848, allocations: 13.12 kB / 0.5975 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.585, allocations: 2.531 kB / 0.5975 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/0.5852, allocations: 74.47 kB / 0.5975 GB, free: 16.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.5853, allocations: 0.6692 MB / 0.5982 GB, free: 16.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.106e-05/0.5854, allocations: 4 kB / 0.5982 GB, free: 16.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.121e-05/0.5854, allocations: 7.438 kB / 0.5982 GB, free: 16.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5854, allocations: 0 / 0.5982 GB, free: 16.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002349/0.5877, allocations: 292.8 kB / 0.5985 GB, free: 15.92 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: