Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 288.4 MB / 303.6 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 183.3 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 0.631 GB, free: 9.855 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006938/0.0006937, allocations: 90.77 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 18.2 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005167/0.1447, allocations: 315.8 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1457, allocations: 1.235 MB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-06/0.1457, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.1458, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1458, allocations: 7.875 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.146, allocations: 43.89 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.022e-05/0.1461, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.1461, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.153e-05/0.1461, allocations: 7.984 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.1461, allocations: 4 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-06/0.1462, allocations: 4 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1463, allocations: 83.91 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.1463, allocations: 3.984 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.1464, allocations: 33.64 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.719e-05/0.1464, allocations: 31.97 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1464, allocations: 0 / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1464, allocations: 0 / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.1465, allocations: 0 / 0.9819 GB, free: 25.44 MB / 0.6198 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.0001735/0.1466, allocations: 319.6 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1467, allocations: 12.03 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.283e-05/0.1467, allocations: 34.75 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.559e-05/0.1467, allocations: 0.9375 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.075e-05/0.1468, allocations: 164.4 kB / 0.9824 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-06/0.1468, allocations: 4.359 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1468, allocations: 384 / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.338e-05/0.1469, allocations: 37.83 kB / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.1469, allocations: 0 / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-06/0.1469, allocations: 0 / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1469, allocations: 0 / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.565e-05/0.1469, allocations: 7.938 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.418e-05/0.147, allocations: 145.7 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.544e-05/0.147, allocations: 18.58 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.147, allocations: 8.844 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.1474, allocations: 0.5545 MB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1474, allocations: 42.5 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.1474, allocations: 0 / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.517e-05/0.1475, allocations: 45.56 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.378e-05/0.1475, allocations: 51.41 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.285e-05/0.1476, allocations: 89.86 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.1476, allocations: 25.7 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.995e-06/0.1476, allocations: 80.14 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1476, allocations: 11.89 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.1476, allocations: 4.125 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.1477, allocations: 310.8 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-06/0.1477, allocations: 0 / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-06/0.1477, allocations: 0 / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.949e-05/0.1477, allocations: 16.8 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1477, allocations: 0 / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.79e-05/0.1478, allocations: 41.62 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1478, allocations: 9.5 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1478, allocations: 4.094 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1478, allocations: 0 / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.195e-05/0.1478, allocations: 4 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1478, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.1478, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1479, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.1479, allocations: 110.1 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.1479, allocations: 3.938 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.148, allocations: 52.75 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.148, allocations: 0 / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.148, allocations: 0 / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.148, allocations: 0 / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.889e-05/0.148, allocations: 145.6 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.148, allocations: 3.984 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.1481, allocations: 7.984 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1481, allocations: 3.938 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.1481, allocations: 0 / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1481, allocations: 0 / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1481, allocations: 4.031 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.908e-05/0.1481, allocations: 57.14 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1482, allocations: 81.05 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.1482, allocations: 7.984 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.1482, allocations: 3.938 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.1482, allocations: 4 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1482, allocations: 0 / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.097e-06/0.1482, allocations: 83.25 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1482, allocations: 0 / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001747/0.1484, allocations: 8 kB / 0.9844 GB, free: 22.41 MB / 0.6198 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 (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.0001873/0.1486, allocations: 0.5968 MB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.398e-05/0.1486, allocations: 12.03 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1486, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.1487, allocations: 7.938 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.1488, allocations: 2.062 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.149, allocations: 104.4 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.149, allocations: 0.6692 MB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.1491, allocations: 12.06 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.1491, allocations: 9.188 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1491, allocations: 0 / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.391/1.54, allocations: 0.822 MB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/1.54, allocations: 206.8 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/3.145, allocations: 0 / 0.9868 GB, free: 20 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)