Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice",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.801/1.801, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001035/0.001035, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.977/1.977, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001159/0.001159, allocations: 93.08 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005227/0.0005231, allocations: 15.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3221, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9699/1.292, allocations: 139.3 MB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000411/1.293, allocations: 76.47 kB / 1.116 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009605/1.302, allocations: 2.154 MB / 1.118 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.604e-06/1.302, allocations: 0 / 1.118 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.302, allocations: 0 / 1.118 GB, free: 31.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005008/1.303, allocations: 373.5 kB / 1.118 GB, free: 31.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/1.303, allocations: 11.58 kB / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/1.303, allocations: 44.91 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/1.303, allocations: 7.406 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.303, allocations: 166.9 kB / 1.118 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/1.303, allocations: 3.938 kB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/1.303, allocations: 7.75 kB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/1.304, allocations: 65.23 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.304, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.304, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.304, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/1.304, allocations: 32.39 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/1.304, allocations: 281.8 kB / 1.119 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/1.304, allocations: 40.28 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/1.305, allocations: 0.5585 MB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.305, allocations: 30.56 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.305, allocations: 0 / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003629/1.305, allocations: 76.33 kB / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/1.305, allocations: 55.36 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.306, allocations: 116.6 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.306, allocations: 25.7 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/1.306, allocations: 97.5 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/1.306, allocations: 3.906 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.306, allocations: 0 / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.306, allocations: 317 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/1.306, allocations: 17.78 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/1.306, allocations: 7.812 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/1.306, allocations: 13.97 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.306, allocations: 0 / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/1.306, allocations: 61.45 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.306, allocations: 3.781 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.306, allocations: 3.984 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.306, allocations: 3.875 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/1.307, allocations: 6.328 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.307, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/1.307, allocations: 7.797 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.307, allocations: 3.938 kB / 1.12 GB, free: 29.6 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 0.0001105/1.307, allocations: 119.4 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/1.307, allocations: 3.906 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/1.307, allocations: 70.56 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.307, allocations: 0 / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.307, allocations: 0 / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.307, allocations: 0 / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/1.307, allocations: 167.4 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.307, allocations: 0 / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/1.307, allocations: 11.14 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.307, allocations: 3.875 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/1.307, allocations: 7.812 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.307, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.307, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/1.308, allocations: 167.9 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/1.308, allocations: 77.11 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.308, allocations: 2.953 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.308, allocations: 6.906 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.308, allocations: 0 / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/1.308, allocations: 3.875 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.795e-05/1.308, allocations: 90.86 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.308, allocations: 0 / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004292/1.309, allocations: 18.62 kB / 1.121 GB, free: 28.93 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0007246/1.309, allocations: 0.7033 MB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001999/1.309, allocations: 29.94 kB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.309, allocations: 0 / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/1.31, allocations: 14.7 kB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.31, allocations: 0 / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.311, allocations: 470.7 kB / 1.122 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.312, allocations: 0.6839 MB / 1.123 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.13e-05/1.312, allocations: 2.906 kB / 1.123 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/1.312, allocations: 21.72 kB / 1.123 GB, free: 27.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.312, allocations: 0 / 1.123 GB, free: 27.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/1.329, allocations: 1.242 MB / 1.124 GB, free: 27.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/1.33, allocations: 181.3 kB / 1.124 GB, free: 26.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.849, allocations: 0 / 1.124 GB, free: 26.79 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)