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.736/1.736, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.0009846/0.0009847, allocations: 172.9 kB / 361.4 MB, free: 6.859 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.516/1.516, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 91.78 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.767e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7807, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.9865, allocations: 138.5 MB / 1.1 GB, free: 1.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.9867, allocations: 82.17 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006343/0.9931, allocations: 2.122 MB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9931, allocations: 1.781 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9932, allocations: 0.5312 kB / 1.102 GB, free: 15.05 MB / 0.7136 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.0003735/0.9935, allocations: 370.1 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.9936, allocations: 8.031 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.9936, allocations: 8.906 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.9938, allocations: 180.3 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.9938, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.9938, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.873e-05/0.9939, allocations: 23.94 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.994, allocations: 44.91 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.994, allocations: 1.406 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.9941, allocations: 3.188 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.9941, allocations: 7.094 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.9945, allocations: 247.5 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/0.9945, allocations: 27.2 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.9946, allocations: 13.52 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.9951, allocations: 0.5558 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.9952, allocations: 31.09 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.9952, allocations: 0.7188 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002232/0.9954, allocations: 50.44 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.9954, allocations: 51.41 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.9955, allocations: 101.6 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.9955, allocations: 29.64 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.9956, allocations: 96.06 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.9956, allocations: 7.844 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.9956, allocations: 0 / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9958, allocations: 318.8 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.9958, allocations: 6.125 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.9958, allocations: 8 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.9958, allocations: 7.984 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9959, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.822e-05/0.9959, allocations: 49.7 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.996, allocations: 9.234 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.996, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.996, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.9961, allocations: 8 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.9961, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.9961, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.9961, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 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 6.986e-05/0.9962, allocations: 108.9 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.104e-05/0.9963, allocations: 49.67 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.9964, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.9965, allocations: 53.64 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9965, allocations: 4 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9965, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9965, allocations: 5.734 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.9967, allocations: 146.2 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9967, allocations: 3.984 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.9967, allocations: 8.062 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9968, allocations: 0 / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.9968, allocations: 3.938 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9968, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9968, allocations: 4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.9969, allocations: 140.2 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.997, allocations: 81.11 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.997, allocations: 0 / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.9971, allocations: 12.02 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.9971, allocations: 0 / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9971, allocations: 7.312 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.9972, allocations: 85.39 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9972, allocations: 0 / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002199/0.9974, allocations: 11.91 kB / 1.105 GB, free: 11.73 MB / 0.7136 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.0004388/0.9978, allocations: 0.7004 MB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.46e-05/0.9979, allocations: 12 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9979, allocations: 1.406 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.998, allocations: 8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.9981, allocations: 0 / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.9985, allocations: 104 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.9987, allocations: 0.6886 MB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.9988, allocations: 0 / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.9988, allocations: 19.38 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9988, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/1.017, allocations: 0.8225 MB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.017, allocations: 140.6 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.534, allocations: 1.375 kB / 1.107 GB, free: 9.133 MB / 0.7136 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)