Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.689/2.689, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001493/0.001492, allocations: 179.1 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001218/0.001217, allocations: 96.67 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000542/0.0005419, allocations: 11.64 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2461, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9967/1.243, allocations: 139.2 MB / 1.114 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.243, allocations: 79.16 kB / 1.114 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008649/1.252, allocations: 1.815 MB / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.252, allocations: 0 / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.252, allocations: 0 / 1.116 GB, free: 31.01 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.0005676/1.253, allocations: 379.6 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.253, allocations: 15.55 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/1.253, allocations: 30.56 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/1.253, allocations: 10.81 kB / 1.116 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.253, allocations: 166 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.253, allocations: 7.469 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.253, allocations: 3.984 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/1.253, allocations: 61.47 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.253, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.253, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.253, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/1.253, allocations: 32.42 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/1.254, allocations: 292.2 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/1.254, allocations: 31.62 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/1.255, allocations: 0.5555 MB / 1.118 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.255, allocations: 38.5 kB / 1.118 GB, free: 29.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/1.255, allocations: 4 kB / 1.118 GB, free: 29.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003701/1.255, allocations: 80.55 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.255, allocations: 51.41 kB / 1.118 GB, free: 29.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.255, allocations: 112.7 kB / 1.118 GB, free: 29.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/1.255, allocations: 28.78 kB / 1.118 GB, free: 29.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/1.255, allocations: 89.94 kB / 1.118 GB, free: 29.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/1.255, allocations: 11.78 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.255, allocations: 0 / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.255, allocations: 316.2 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/1.256, allocations: 14.33 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/1.256, allocations: 7.719 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.004e-05/1.256, allocations: 13.73 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.256, allocations: 4 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001871/1.256, allocations: 57.86 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.256, allocations: 5.719 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.256, allocations: 2.391 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.256, allocations: 3.938 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.256, allocations: 7.719 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.256, allocations: 3.953 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/1.256, allocations: 10.31 kB / 1.118 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/1.256, allocations: 0 / 1.118 GB, free: 28.65 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.0001272/1.256, allocations: 115.5 kB / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/1.256, allocations: 3.906 kB / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/1.257, allocations: 67.52 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.257, allocations: 5.469 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.257, allocations: 4.031 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.257, allocations: 3.953 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.257, allocations: 162.1 kB / 1.119 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.257, allocations: 0 / 1.119 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/1.257, allocations: 15 kB / 1.119 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.257, allocations: 0 / 1.119 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/1.257, allocations: 3.844 kB / 1.119 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.257, allocations: 0 / 1.119 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.257, allocations: 0 / 1.119 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/1.257, allocations: 160.9 kB / 1.119 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/1.257, allocations: 77.11 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/1.257, allocations: 3.875 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/1.257, allocations: 3.844 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/1.258, allocations: 3.141 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/1.258, allocations: 0 / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.674e-05/1.258, allocations: 98.22 kB / 1.119 GB, free: 27.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.258, allocations: 3.938 kB / 1.119 GB, free: 27.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003259/1.258, allocations: 15.62 kB / 1.119 GB, free: 27.98 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.0006446/1.259, allocations: 0.7031 MB / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001923/1.259, allocations: 26.44 kB / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.259, allocations: 0 / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/1.259, allocations: 14.39 kB / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/1.259, allocations: 0 / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/1.26, allocations: 478.7 kB / 1.12 GB, free: 26.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/1.261, allocations: 0.6888 MB / 1.121 GB, free: 26.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.278e-05/1.261, allocations: 8.016 kB / 1.121 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/1.261, allocations: 18.17 kB / 1.121 GB, free: 26.25 MB / 0.698 GB Notification: Performance of SimCode: time 9.41e-07/1.261, allocations: 0 / 1.121 GB, free: 26.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/1.282, allocations: 1.24 MB / 1.122 GB, free: 26.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.282, allocations: 165.5 kB / 1.122 GB, free: 25.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.667, allocations: 0 / 1.122 GB, free: 25.83 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)