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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 103.1 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002655/0.002655, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.542/3.542, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.4/3.4, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 19.66 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5152, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003681/0.519, allocations: 1.195 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.521, allocations: 0.6268 MB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.5211, allocations: 4 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.5212, allocations: 7.922 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.5213, allocations: 7.984 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.5217, allocations: 55.8 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.5219, allocations: 15.98 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.522, allocations: 15.98 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.5222, allocations: 11.94 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.5223, allocations: 15.92 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.5224, allocations: 4 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.5227, allocations: 83.89 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.5227, allocations: 7.938 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.5228, allocations: 29.7 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.5231, allocations: 64.12 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.5231, allocations: 4 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.107e-06/0.5231, allocations: 0 / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5231, allocations: 0 / 0.7893 GB, free: 9.699 MB / 0.6075 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.0009847/0.5241, allocations: 355.2 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.479e-05/0.5242, allocations: 8.031 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.167e-05/0.5243, allocations: 30.56 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.5244, allocations: 11.84 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.5246, allocations: 171 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.5247, allocations: 7.922 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.5247, allocations: 8 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.525, allocations: 49.67 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.525, allocations: 4 kB / 0.7899 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.5251, allocations: 4 kB / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.5251, allocations: 4 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.5253, allocations: 23.98 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.5261, allocations: 280.7 kB / 0.7902 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.5263, allocations: 42.5 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.5273, allocations: 0.5506 MB / 0.7908 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.5274, allocations: 38.56 kB / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.5274, allocations: 0 / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004965/0.5279, allocations: 81.47 kB / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.528, allocations: 51.41 kB / 0.791 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.5281, allocations: 129.7 kB / 0.7911 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/0.5282, allocations: 29.7 kB / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5283, allocations: 84.14 kB / 0.7912 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.5284, allocations: 7.906 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5284, allocations: 128 / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003563/0.5288, allocations: 322.8 kB / 0.7915 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.5288, allocations: 8 kB / 0.7915 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.5289, allocations: 15.98 kB / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.529, allocations: 8 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.529, allocations: 0 / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003053/0.5293, allocations: 57.75 kB / 0.7916 GB, free: 7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.5294, allocations: 14.75 kB / 0.7916 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5294, allocations: 3.984 kB / 0.7916 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.5294, allocations: 0 / 0.7916 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.5295, allocations: 4 kB / 0.7916 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5295, allocations: 3.953 kB / 0.7916 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.5296, allocations: 7.906 kB / 0.7916 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.5296, allocations: 11.97 kB / 0.7917 GB, free: 6.957 MB / 0.6075 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 9.65e-05/0.5298, allocations: 113.8 kB / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.5298, allocations: 0 / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.5302, allocations: 69.2 kB / 0.7918 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5302, allocations: 0 / 0.7918 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5302, allocations: 4 kB / 0.7918 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.5302, allocations: 3.953 kB / 0.7918 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.5305, allocations: 169.7 kB / 0.792 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5305, allocations: 0 / 0.792 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.5306, allocations: 7.938 kB / 0.792 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5306, allocations: 0 / 0.792 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.5306, allocations: 0 / 0.792 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5306, allocations: 4 kB / 0.792 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.5306, allocations: 3.984 kB / 0.792 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.5309, allocations: 155.4 kB / 0.7922 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.531, allocations: 81.11 kB / 0.7922 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.531, allocations: 4 kB / 0.7922 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.5311, allocations: 3.984 kB / 0.7923 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.5311, allocations: 4 kB / 0.7923 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.5312, allocations: 3.938 kB / 0.7923 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.5312, allocations: 95.27 kB / 0.7923 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5313, allocations: 4.031 kB / 0.7924 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003585/0.5316, allocations: 8 kB / 0.7924 GB, free: 6.133 MB / 0.6075 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.0007502/0.5324, allocations: 0.7046 MB / 0.793 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.5327, allocations: 28.02 kB / 0.7931 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5327, allocations: 0 / 0.7931 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.5328, allocations: 19.92 kB / 0.7931 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.533, allocations: 4 kB / 0.7931 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.5343, allocations: 482.8 kB / 0.7936 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.5357, allocations: 0.6848 MB / 0.7942 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.107e-05/0.5358, allocations: 4 kB / 0.7942 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.5359, allocations: 15.42 kB / 0.7942 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.5359, allocations: 3.938 kB / 0.7943 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.5638, allocations: 1.239 MB / 0.7955 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005088/0.5644, allocations: 170.9 kB / 0.7956 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/3.588, allocations: 0 / 0.7956 GB, free: 2.719 MB / 0.6075 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) Environment - environmentSimulation: