Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.001112/0.001112, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 4.535 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 1.758/1.758, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001463/0.001463, allocations: 79.58 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001743/0.239, allocations: 0.5968 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2406, allocations: 1.269 MB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.2407, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2407, allocations: 4 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.2407, allocations: 7.875 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.2411, allocations: 63.75 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.2412, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.2413, allocations: 7.984 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.2413, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.2413, allocations: 3.984 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2414, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.2416, allocations: 95.91 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2416, allocations: 3.984 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.2417, allocations: 4 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.2418, allocations: 51.94 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2418, allocations: 0 / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2418, allocations: 0 / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2418, allocations: 0 / 0.7857 GB, free: 11.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004753/0.2423, allocations: 315.6 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.2424, allocations: 12.03 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.2424, allocations: 34.73 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.2425, allocations: 4.875 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2426, allocations: 164.3 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2426, allocations: 8.375 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.2426, allocations: 384 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2428, allocations: 37.83 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2428, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.2428, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2428, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.2428, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.243, allocations: 149.7 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.272e-05/0.2431, allocations: 22.52 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.2431, allocations: 12.95 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.2437, allocations: 0.5544 MB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2437, allocations: 38.48 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.2437, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.2439, allocations: 37.7 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2439, allocations: 55.34 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.732e-05/0.244, allocations: 89.86 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.244, allocations: 25.7 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.244, allocations: 84.14 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.2441, allocations: 3.906 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.2441, allocations: 9.719 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2442, allocations: 310.8 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.2443, allocations: 12.11 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.2443, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.2443, allocations: 16.8 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2443, allocations: 0 / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.768e-05/0.2444, allocations: 29.7 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2444, allocations: 8.875 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.2444, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2444, allocations: 7.938 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.2445, allocations: 4.094 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2445, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.2445, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.2445, allocations: 0 / 0.7877 GB, free: 8.754 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 (1): * Single equations (assignments): 1 * 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.784e-05/0.2446, allocations: 114.1 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.2446, allocations: 3.938 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/0.2447, allocations: 44.75 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2447, allocations: 4.031 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2447, allocations: 4 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2447, allocations: 0 / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.415e-05/0.2448, allocations: 149.6 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2448, allocations: 0 / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.2449, allocations: 4 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2449, allocations: 3.938 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2449, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2449, allocations: 3.938 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2449, allocations: 0 / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.245, allocations: 65.12 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.245, allocations: 81.05 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.245, allocations: 7.984 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-06/0.245, allocations: 0 / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.2451, allocations: 0 / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.2451, allocations: 0 / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.2451, allocations: 76.34 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2451, allocations: 4 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001953/0.2453, allocations: 8.031 kB / 0.7882 GB, free: 8.086 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 (1): * Single equations (assignments): 1 * 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.000378/0.2457, allocations: 0.6085 MB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.2458, allocations: 8 kB / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2458, allocations: 96 / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-06/0.2458, allocations: 8 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.2459, allocations: 0 / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.2463, allocations: 114.6 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2465, allocations: 0.6728 MB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.949e-05/0.2466, allocations: 3.938 kB / 0.7896 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2466, allocations: 11.44 kB / 0.7896 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2466, allocations: 4.062 kB / 0.7896 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.263, allocations: 1.001 MB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.136, allocations: 10.22 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)