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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7899/0.7899, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001053/0.001053, allocations: 168.1 kB / 180.9 MB, free: 15.05 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.445/1.445, allocations: 170.7 MB / 383.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001762/0.001763, allocations: 116.5 kB / 454.6 MB, free: 9.863 MB / 346.7 MB [/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.1964/0.1969, allocations: 73.42 MB / 0.6812 GB, free: 5.52 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.549/0.746, allocations: 101.8 MB / 0.7806 GB, free: 24.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.7463, allocations: 76.08 kB / 0.7807 GB, free: 24.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003326/0.7496, allocations: 1.196 MB / 0.7818 GB, free: 23.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7496, allocations: 4 kB / 0.7818 GB, free: 23.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.7496, allocations: 0 / 0.7818 GB, free: 23.53 MB / 490.7 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.0002342/0.7499, allocations: 331.5 kB / 0.7821 GB, free: 23.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7499, allocations: 12.03 kB / 0.7822 GB, free: 23.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.75, allocations: 0 / 0.7822 GB, free: 23.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.731e-05/0.75, allocations: 164.4 kB / 0.7823 GB, free: 22.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7501, allocations: 0 / 0.7823 GB, free: 22.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.7501, allocations: 7.094 kB / 0.7823 GB, free: 22.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.456e-05/0.7502, allocations: 30.36 kB / 0.7824 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7502, allocations: 0.6562 kB / 0.7824 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7502, allocations: 4 kB / 0.7824 GB, free: 22.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7502, allocations: 0 / 0.7824 GB, free: 22.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.7502, allocations: 8.203 kB / 0.7824 GB, free: 22.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.7503, allocations: 147 kB / 0.7825 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.7504, allocations: 22.23 kB / 0.7825 GB, free: 22.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/0.7508, allocations: 0.5557 MB / 0.7831 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.7508, allocations: 35.12 kB / 0.7831 GB, free: 21.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7508, allocations: 0 / 0.7831 GB, free: 21.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.7509, allocations: 50.48 kB / 0.7832 GB, free: 21.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.751, allocations: 52.06 kB / 0.7832 GB, free: 21.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.824e-05/0.751, allocations: 85.94 kB / 0.7833 GB, free: 21.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.751, allocations: 25.7 kB / 0.7833 GB, free: 21.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.464e-05/0.751, allocations: 80.14 kB / 0.7834 GB, free: 21.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.7511, allocations: 3.125 kB / 0.7834 GB, free: 21.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.7511, allocations: 4 kB / 0.7834 GB, free: 21.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.7511, allocations: 311.5 kB / 0.7837 GB, free: 21.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.7511, allocations: 4 kB / 0.7837 GB, free: 21.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-06/0.7511, allocations: 0 / 0.7837 GB, free: 21.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.7512, allocations: 4.109 kB / 0.7837 GB, free: 21.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7512, allocations: 0 / 0.7837 GB, free: 21.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.151e-05/0.7512, allocations: 39.38 kB / 0.7837 GB, free: 21.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7512, allocations: 4.562 kB / 0.7837 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7513, allocations: 7.484 kB / 0.7837 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7513, allocations: 0 / 0.7837 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.336e-05/0.7513, allocations: 5.5 kB / 0.7838 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.7513, allocations: 0.6094 kB / 0.7838 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.7514, allocations: 5.078 kB / 0.7838 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.7514, allocations: 0 / 0.7838 GB, free: 21.28 MB / 490.7 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 4.77e-05/0.7514, allocations: 106.4 kB / 0.7839 GB, free: 21.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.7514, allocations: 4.516 kB / 0.7839 GB, free: 21.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.578e-05/0.7515, allocations: 42.88 kB / 0.7839 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7515, allocations: 0 / 0.7839 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7515, allocations: 0 / 0.7839 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7515, allocations: 1.156 kB / 0.7839 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.822e-05/0.7516, allocations: 154.8 kB / 0.7841 GB, free: 20.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7516, allocations: 4.547 kB / 0.7841 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.7516, allocations: 1.062 kB / 0.7841 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.7516, allocations: 0 / 0.7841 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.7517, allocations: 2.438 kB / 0.7841 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.7517, allocations: 5.562 kB / 0.7841 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7517, allocations: 4 kB / 0.7841 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.079e-05/0.7517, allocations: 58.61 kB / 0.7841 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.7517, allocations: 81.95 kB / 0.7842 GB, free: 20.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.7518, allocations: 0 / 0.7842 GB, free: 20.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.7518, allocations: 4.797 kB / 0.7842 GB, free: 20.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.7518, allocations: 0 / 0.7842 GB, free: 20.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.7518, allocations: 2.062 kB / 0.7842 GB, free: 20.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.276e-05/0.7518, allocations: 80.16 kB / 0.7843 GB, free: 20.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7518, allocations: 0 / 0.7843 GB, free: 20.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.752, allocations: 15.56 kB / 0.7843 GB, free: 20.65 MB / 490.7 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.0001378/0.7522, allocations: 104.8 kB / 0.7844 GB, free: 20.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.415e-05/0.7522, allocations: 8.781 kB / 0.7844 GB, free: 20.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7522, allocations: 1.312 kB / 0.7844 GB, free: 20.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.643e-06/0.7522, allocations: 0.75 kB / 0.7844 GB, free: 20.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.491e-05/0.7523, allocations: 8.078 kB / 0.7844 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.7525, allocations: 76.42 kB / 0.7845 GB, free: 20.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.7527, allocations: 0.6712 MB / 0.7851 GB, free: 19.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.7527, allocations: 4 kB / 0.7851 GB, free: 19.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.7527, allocations: 11.2 kB / 0.7852 GB, free: 19.73 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7527, allocations: 0 / 0.7852 GB, free: 19.73 MB / 490.7 MB Notification: Performance of Templates: time 0.002203/0.7549, allocations: 271.6 kB / 0.7854 GB, free: 19.57 MB / 490.7 MB 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)