Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.00122/0.00122, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.62/1.62, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008697/0.0008695, allocations: 91.22 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.182e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8424, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/1.068, allocations: 139.5 MB / 1.11 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/1.068, allocations: 71.95 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006887/1.075, allocations: 2.131 MB / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/1.075, allocations: 1.406 kB / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.075, allocations: 0.875 kB / 1.112 GB, free: 8.473 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.0004087/1.076, allocations: 371.3 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.076, allocations: 8.031 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/1.076, allocations: 4.531 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/1.076, allocations: 178.7 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.076, allocations: 0 / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.076, allocations: 4 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.625e-05/1.076, allocations: 15.98 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.235e-05/1.076, allocations: 48.88 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.076, allocations: 0.5 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/1.076, allocations: 0 / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.076, allocations: 5.875 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/1.077, allocations: 250 kB / 1.113 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.715e-05/1.077, allocations: 23.45 kB / 1.113 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/1.077, allocations: 12.05 kB / 1.113 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/1.077, allocations: 0.5621 MB / 1.113 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.077, allocations: 40.98 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.077, allocations: 0 / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002139/1.077, allocations: 45.61 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/1.077, allocations: 51.41 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/1.078, allocations: 101 kB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/1.078, allocations: 25.7 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/1.078, allocations: 89.11 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/1.078, allocations: 11.78 kB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.078, allocations: 2.031 kB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.078, allocations: 318.8 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.078, allocations: 8 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/1.078, allocations: 4 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/1.078, allocations: 8.594 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.078, allocations: 0.5938 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.73e-05/1.078, allocations: 54.75 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.078, allocations: 4 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.078, allocations: 0 / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.078, allocations: 4 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/1.078, allocations: 8.969 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/1.078, allocations: 0 / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/1.078, allocations: 7.984 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.078, allocations: 0 / 1.114 GB, free: 5.941 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 7.547e-05/1.078, allocations: 109.1 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.372e-05/1.078, allocations: 45.69 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/1.078, allocations: 4 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/1.079, allocations: 53.59 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.079, allocations: 0 / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.079, allocations: 0 / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.079, allocations: 3.953 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.079, allocations: 150.1 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.079, allocations: 3.984 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/1.079, allocations: 8.062 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/1.079, allocations: 0 / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/1.079, allocations: 0 / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.079, allocations: 4 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.079, allocations: 6.047 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/1.079, allocations: 139.5 kB / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/1.079, allocations: 81.09 kB / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.079, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/1.079, allocations: 8.031 kB / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/1.079, allocations: 0 / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.079, allocations: 4 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.788e-05/1.079, allocations: 89.61 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.079, allocations: 3.938 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002265/1.08, allocations: 16.66 kB / 1.115 GB, free: 5.133 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.0005691/1.08, allocations: 0.6851 MB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.485e-05/1.08, allocations: 15.94 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.08, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/1.08, allocations: 7.984 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/1.08, allocations: 4 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/1.081, allocations: 105 kB / 1.115 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/1.081, allocations: 0.6885 MB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.577e-05/1.081, allocations: 4 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.081, allocations: 11.44 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.081, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/1.104, allocations: 0.8254 MB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/1.104, allocations: 130.8 kB / 1.117 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.781, allocations: 0 / 1.117 GB, free: 2.543 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)