Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 183.4 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 93.53 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 9.938 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.4307, allocations: 132 MB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.431, allocations: 75.95 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005043/0.4361, allocations: 1.671 MB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.316e-06/0.4361, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4361, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6823 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.0003348/0.4365, allocations: 339.4 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4365, allocations: 8.031 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.4366, allocations: 34.56 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.4366, allocations: 3.906 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4367, allocations: 167 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.4368, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.4368, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.4369, allocations: 33.64 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4369, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.4369, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4369, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.4369, allocations: 3.984 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.4371, allocations: 153.6 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.4372, allocations: 23.28 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.4377, allocations: 0.5545 MB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4377, allocations: 34.55 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.506e-06/0.4378, allocations: 3.938 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.4379, allocations: 41.77 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4379, allocations: 55.41 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.438, allocations: 85 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.438, allocations: 25.7 kB / 1.032 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.4381, allocations: 80.14 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.4381, allocations: 3.938 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-06/0.4381, allocations: 0 / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4382, allocations: 310.8 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.4383, allocations: 4 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-06/0.4383, allocations: 4 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.4383, allocations: 4 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4383, allocations: 0 / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.016e-05/0.4384, allocations: 45.58 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4384, allocations: 4 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4384, allocations: 0 / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4384, allocations: 0 / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.4385, allocations: 4 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4385, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.4385, allocations: 4.094 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4385, allocations: 0 / 1.033 GB, free: 7.562 MB / 0.6823 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 7.622e-05/0.4386, allocations: 105.8 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.4386, allocations: 11.94 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.4387, allocations: 44.7 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4387, allocations: 0 / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4388, allocations: 0 / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4388, allocations: 4.031 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.4389, allocations: 149.7 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4389, allocations: 0 / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.4389, allocations: 0 / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4389, allocations: 7.938 kB / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.4389, allocations: 0 / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4389, allocations: 0 / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.439, allocations: 4 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.101e-05/0.439, allocations: 61.12 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.4391, allocations: 77.11 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.4391, allocations: 7.891 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.4391, allocations: 4 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.4391, allocations: 3.938 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.4392, allocations: 0 / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.4392, allocations: 75.28 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4392, allocations: 0 / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001946/0.4394, allocations: 4 kB / 1.033 GB, free: 6.91 MB / 0.6823 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.0004407/0.4398, allocations: 0.6103 MB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.139e-05/0.4399, allocations: 4 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.4399, allocations: 0 / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.4399, allocations: 11.92 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.378e-05/0.44, allocations: 10.34 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.4403, allocations: 104.4 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.4407, allocations: 0.677 MB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.4407, allocations: 0 / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.4408, allocations: 11.44 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.4408, allocations: 0 / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.4523, allocations: 0.8244 MB / 1.035 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.4526, allocations: 200.8 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.961, allocations: 2.109 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)