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.313/1.313, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000905/0.000905, allocations: 168.4 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0007188/0.0007189, allocations: 86.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 9.062 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001482/0.2104, allocations: 1.223 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.2113, allocations: 0.6754 MB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.2113, allocations: 8 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.2113, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.2114, allocations: 3.938 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.2117, allocations: 59.8 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.2117, allocations: 35.92 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.2118, allocations: 11.98 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.2119, allocations: 15.94 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.212, allocations: 19.86 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.212, allocations: 0 / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.2121, allocations: 95.89 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.2122, allocations: 0 / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.2122, allocations: 41.58 kB / 0.9031 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2123, allocations: 83.81 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2123, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2124, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2124, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 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.0003398/0.2127, allocations: 355.7 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2128, allocations: 12.03 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.2128, allocations: 34.69 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.2128, allocations: 4.938 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.173e-05/0.2129, allocations: 172.2 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2129, allocations: 8.312 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.2129, allocations: 4.375 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2131, allocations: 61.81 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2131, allocations: 3.938 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.2131, allocations: 4 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2131, allocations: 0 / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.2132, allocations: 31.92 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.2135, allocations: 280.7 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.2136, allocations: 34.58 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.2137, allocations: 28.89 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.214, allocations: 0.5505 MB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.214, allocations: 42.5 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.214, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.2143, allocations: 73.58 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/0.2143, allocations: 51.41 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.2144, allocations: 117.8 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.2144, allocations: 25.7 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.2144, allocations: 92.33 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2144, allocations: 15.89 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.2144, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.2145, allocations: 314.8 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.2145, allocations: 15.98 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.2146, allocations: 8 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.2147, allocations: 36.84 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2147, allocations: 0 / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/0.2148, allocations: 61.67 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2148, allocations: 8 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2148, allocations: 0 / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2148, allocations: 0 / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.2149, allocations: 8.031 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2149, allocations: 0 / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.2149, allocations: 11.92 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.215, allocations: 3.938 kB / 0.9055 GB, free: 58.3 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.215, allocations: 109.8 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.2151, allocations: 7.906 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.2152, allocations: 73.14 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2152, allocations: 3.938 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2152, allocations: 0 / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2153, allocations: 0 / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2154, allocations: 169.6 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2154, allocations: 0 / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.2154, allocations: 7.984 kB / 0.9059 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2154, allocations: 7.938 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2155, allocations: 0 / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2155, allocations: 4.031 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2155, allocations: 0 / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2156, allocations: 155.3 kB / 0.906 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.2157, allocations: 89.09 kB / 0.9061 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2157, allocations: 0 / 0.9061 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.2157, allocations: 8.031 kB / 0.9061 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.2158, allocations: 0 / 0.9061 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.2158, allocations: 0 / 0.9061 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.2158, allocations: 99.2 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2158, allocations: 0 / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002013/0.216, allocations: 8 kB / 0.9062 GB, free: 57.47 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000375/0.2164, allocations: 0.7006 MB / 0.9069 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2166, allocations: 27.97 kB / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2166, allocations: 0 / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.2166, allocations: 20.09 kB / 0.9069 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.2168, allocations: 7.891 kB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.2178, allocations: 1.337 MB / 0.9083 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.2179, allocations: 0.6809 MB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.2179, allocations: 4 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.218, allocations: 11.44 kB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.218, allocations: 0 / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.2296, allocations: 1.266 MB / 0.9102 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.2298, allocations: 194.9 kB / 0.9104 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.812, allocations: 0 / 0.9104 GB, free: 53.15 MB / 0.6042 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)