Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.686/1.686, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 186.1 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 0.572 GB, free: 10.74 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.000873/0.000873, allocations: 80.62 kB / 0.6764 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.381e-05/4.383e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8075/1.08, allocations: 132.9 MB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.08, allocations: 70.95 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006925/1.087, allocations: 2.151 MB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/1.087, allocations: 3.938 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.087, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.6511 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.0003913/1.088, allocations: 358.2 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.088, allocations: 8.031 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/1.088, allocations: 34.56 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/1.088, allocations: 15.59 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/1.088, allocations: 175 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/1.088, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.088, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.088, allocations: 48.5 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.088, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/1.088, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.088, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/1.088, allocations: 23.55 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/1.088, allocations: 287.4 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.3e-05/1.089, allocations: 26.33 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/1.089, allocations: 11.86 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/1.089, allocations: 0.5539 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.089, allocations: 38.5 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.089, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/1.089, allocations: 53.05 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.089, allocations: 51.41 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.089, allocations: 111.8 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.089, allocations: 25.7 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/1.09, allocations: 90.95 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/1.09, allocations: 7.938 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.09, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.09, allocations: 322.4 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/1.09, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/1.09, allocations: 7.5 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/1.09, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.09, allocations: 3.938 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.645e-05/1.09, allocations: 49.25 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.09, allocations: 13.66 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.09, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.09, allocations: 3.938 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/1.09, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.09, allocations: 3.953 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/1.09, allocations: 15.09 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/1.09, allocations: 3.984 kB / 1.026 GB, free: 13.39 MB / 0.6511 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 () * 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 7.206e-05/1.09, allocations: 105 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/1.09, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/1.09, allocations: 60.3 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.09, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.09, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.09, allocations: 7.953 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/1.091, allocations: 160.3 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.091, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/1.091, allocations: 11.98 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.091, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.091, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.091, allocations: 4.031 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.091, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/1.091, allocations: 150.3 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/1.091, allocations: 77.11 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.091, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/1.091, allocations: 7.938 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/1.091, allocations: 8.016 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.091, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.888e-05/1.091, allocations: 95.08 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.091, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002264/1.091, allocations: 16 kB / 1.027 GB, free: 12.63 MB / 0.6511 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 () * 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.0004561/1.092, allocations: 0.6881 MB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/1.092, allocations: 19.19 kB / 1.027 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.092, allocations: 3.938 kB / 1.027 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/1.092, allocations: 7.812 kB / 1.027 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/1.092, allocations: 1.969 kB / 1.027 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/1.092, allocations: 109.6 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.093, allocations: 0.6809 MB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.869e-05/1.093, allocations: 12.11 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/1.093, allocations: 15.23 kB / 1.028 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.093, allocations: 0 / 1.028 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/1.107, allocations: 1.23 MB / 1.029 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.107, allocations: 151.8 kB / 1.03 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.656, allocations: 0 / 1.03 GB, free: 9.676 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)