Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 191.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 292.3 MB / 0.5484 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.86 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1779, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001586/0.1795, allocations: 0.651 MB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1808, allocations: 1.289 MB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-06/0.1809, allocations: 3.938 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.1809, allocations: 0 / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-06/0.1809, allocations: 0 / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1811, allocations: 47.89 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.005e-05/0.1812, allocations: 4 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.1812, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.134e-05/0.1812, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.1813, allocations: 3.938 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.1813, allocations: 4 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1815, allocations: 95.89 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.1815, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.1815, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1816, allocations: 55.88 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1816, allocations: 0 / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1816, allocations: 0 / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.1816, allocations: 0 / 0.7849 GB, free: 11.71 MB / 0.6075 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.0002466/0.1819, allocations: 323.6 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1819, allocations: 12.03 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.51e-05/0.182, allocations: 30.75 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.182, allocations: 4.938 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.1821, allocations: 168.3 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.1821, allocations: 384 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.1821, allocations: 384 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.1822, allocations: 33.83 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1822, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.1822, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1822, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.1822, allocations: 4 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.989e-05/0.1823, allocations: 149.7 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.113e-05/0.1824, allocations: 22.5 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.1824, allocations: 8.953 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/0.1828, allocations: 0.5583 MB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1829, allocations: 38.5 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1829, allocations: 0 / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.985e-05/0.183, allocations: 33.69 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.183, allocations: 51.41 kB / 0.7863 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.01e-05/0.183, allocations: 89.86 kB / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.183, allocations: 33.64 kB / 0.7864 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.1831, allocations: 80.14 kB / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1831, allocations: 7.891 kB / 0.7865 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1831, allocations: 13.84 kB / 0.7865 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.1832, allocations: 318.8 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.1832, allocations: 0 / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.1832, allocations: 0 / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.781e-05/0.1833, allocations: 8.859 kB / 0.7868 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1833, allocations: 0 / 0.7868 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.542e-05/0.1833, allocations: 37.62 kB / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1833, allocations: 11.94 kB / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1834, allocations: 4.094 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1834, allocations: 3.938 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.009e-05/0.1834, allocations: 3.938 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1834, allocations: 0 / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.1834, allocations: 0 / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1835, allocations: 4 kB / 0.7869 GB, free: 9.328 MB / 0.6075 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 6.376e-05/0.1835, allocations: 110.1 kB / 0.787 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.1835, allocations: 3.938 kB / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.1836, allocations: 40.81 kB / 0.787 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1836, allocations: 7.984 kB / 0.787 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1836, allocations: 0 / 0.787 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1837, allocations: 0 / 0.787 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.324e-05/0.1837, allocations: 153.6 kB / 0.7872 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1838, allocations: 0 / 0.7872 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.1838, allocations: 8 kB / 0.7872 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1838, allocations: 3.938 kB / 0.7872 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1838, allocations: 0 / 0.7872 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1838, allocations: 0 / 0.7872 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1838, allocations: 7.969 kB / 0.7872 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.477e-05/0.1839, allocations: 57.12 kB / 0.7873 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.1839, allocations: 81.05 kB / 0.7873 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.1839, allocations: 4 kB / 0.7873 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.1839, allocations: 0 / 0.7873 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.184, allocations: 0 / 0.7873 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.184, allocations: 4 kB / 0.7873 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.184, allocations: 79.31 kB / 0.7874 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.184, allocations: 0 / 0.7874 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001739/0.1842, allocations: 4 kB / 0.7874 GB, free: 8.668 MB / 0.6075 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.0003577/0.1845, allocations: 0.6007 MB / 0.788 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.943e-05/0.1846, allocations: 8.031 kB / 0.788 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1846, allocations: 0 / 0.788 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.1846, allocations: 7.984 kB / 0.788 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.1848, allocations: 0 / 0.788 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.185, allocations: 112.4 kB / 0.7881 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1853, allocations: 0.6692 MB / 0.7888 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1853, allocations: 16.09 kB / 0.7888 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.1853, allocations: 11.38 kB / 0.7888 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1853, allocations: 0 / 0.7888 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6647/0.85, allocations: 0.8871 MB / 0.7897 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.8502, allocations: 209.9 kB / 0.7899 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.313, allocations: 0 / 0.7899 GB, free: 6.105 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)