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.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.15/1.15, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.471/1.471, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001276/0.001276, allocations: 68.47 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001527/0.167, allocations: 0.5901 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1683, allocations: 1.276 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.1684, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.017e-06/0.1684, allocations: 3.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-06/0.1684, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1687, allocations: 63.75 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.122e-05/0.1687, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.1688, allocations: 4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.176e-05/0.1688, allocations: 3.984 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.1688, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.1688, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.169, allocations: 87.91 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.169, allocations: 7.984 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.169, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.1691, allocations: 43.94 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1691, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.215e-06/0.1691, allocations: 7.938 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1692, allocations: 0 / 0.7855 GB, free: 11.25 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.0002467/0.1694, allocations: 323.6 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1694, allocations: 8.031 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.1695, allocations: 38.75 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.544e-05/0.1695, allocations: 4.875 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.1696, allocations: 164.3 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1696, allocations: 384 / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-06/0.1696, allocations: 384 / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.1697, allocations: 41.8 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-06/0.1697, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-06/0.1697, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1697, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.387e-05/0.1697, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.1698, allocations: 153.7 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.082e-05/0.1699, allocations: 18.52 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.1699, allocations: 8.844 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004656/0.1704, allocations: 0.5584 MB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1704, allocations: 42.5 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1704, allocations: 0 / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.525e-05/0.1705, allocations: 29.7 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1705, allocations: 55.39 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.323e-05/0.1706, allocations: 89.86 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1706, allocations: 33.64 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.1706, allocations: 80.14 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1706, allocations: 3.906 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1707, allocations: 17.84 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.1708, allocations: 310.8 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.1708, allocations: 0 / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.1708, allocations: 8 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/0.1708, allocations: 4.859 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1708, allocations: 4 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.538e-05/0.1709, allocations: 37.69 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1709, allocations: 8.031 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1709, allocations: 4 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.1709, allocations: 0 / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.1709, allocations: 7.938 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.171, allocations: 0 / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-06/0.171, allocations: 0 / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.171, allocations: 0 / 0.7875 GB, free: 8.867 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.012e-05/0.171, allocations: 110.1 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.171, allocations: 7.875 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.1711, allocations: 52.73 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1711, allocations: 0 / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1711, allocations: 0 / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1711, allocations: 0 / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.931e-05/0.1712, allocations: 149.6 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1712, allocations: 3.984 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.1713, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1713, allocations: 3.938 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1713, allocations: 4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1713, allocations: 4.031 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1713, allocations: 3.938 kB / 0.7878 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.289e-05/0.1713, allocations: 53.14 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.1714, allocations: 85.03 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.1714, allocations: 4 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.1714, allocations: 0 / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-06/0.1714, allocations: 0 / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1714, allocations: 4.031 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.976e-05/0.1714, allocations: 76.34 kB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1715, allocations: 0 / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001646/0.1716, allocations: 8 kB / 0.788 GB, free: 8.203 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.0003028/0.1719, allocations: 0.6046 MB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.374e-05/0.172, allocations: 8.031 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.172, allocations: 0 / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.172, allocations: 4 kB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.1721, allocations: 8.922 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.1723, allocations: 106.6 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1726, allocations: 0.669 MB / 0.7894 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.1726, allocations: 8.062 kB / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.1727, allocations: 7.438 kB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1727, allocations: 0 / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.102/2.275, allocations: 0.9991 MB / 0.7904 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/9.346, allocations: 14.72 kB / 0.7904 GB, free: 5.754 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)