Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_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.001058/0.001058, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007165/0.007165, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7423/0.7423, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002819, allocations: 15.98 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 81.57 MB / 0.5838 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005053/0.3278, allocations: 324.1 kB / 0.5841 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3289, allocations: 1.234 MB / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-06/0.329, allocations: 0 / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.136e-05/0.329, allocations: 1.062 kB / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.027e-06/0.329, allocations: 1.188 kB / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.3292, allocations: 43.42 kB / 0.5853 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.899e-05/0.3293, allocations: 7.031 kB / 0.5853 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.3293, allocations: 0.8125 kB / 0.5853 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.286e-05/0.3293, allocations: 8.297 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.3294, allocations: 1.312 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.3294, allocations: 0 / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.3296, allocations: 89.05 kB / 0.5854 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.3296, allocations: 3.984 kB / 0.5854 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.3296, allocations: 27.59 kB / 0.5854 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3297, allocations: 53.09 kB / 0.5855 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3297, allocations: 1.219 kB / 0.5855 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3297, allocations: 0.7031 kB / 0.5855 GB, free: 2.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.535e-06/0.3297, allocations: 3.938 kB / 0.5855 GB, free: 2.824 MB / 430.1 MB 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.0001703/0.3299, allocations: 328.4 kB / 0.5858 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.33, allocations: 9.969 kB / 0.5858 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.924e-05/0.33, allocations: 31.5 kB / 0.5859 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.491e-05/0.33, allocations: 0.9375 kB / 0.5859 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.824e-05/0.33, allocations: 165 kB / 0.586 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.3301, allocations: 5.031 kB / 0.586 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.3301, allocations: 6.219 kB / 0.586 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.369e-05/0.3301, allocations: 32.72 kB / 0.5861 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.3301, allocations: 0 / 0.5861 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.3302, allocations: 0 / 0.5861 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3302, allocations: 1.5 kB / 0.5861 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.656e-05/0.3302, allocations: 2.438 kB / 0.5861 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.05e-05/0.3303, allocations: 147.5 kB / 0.5862 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.525e-05/0.3303, allocations: 21.7 kB / 0.5862 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.3303, allocations: 9.656 kB / 0.5862 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.3306, allocations: 0.5559 MB / 0.5868 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.3307, allocations: 35.98 kB / 0.5868 GB, free: 1.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3307, allocations: 1.188 kB / 0.5868 GB, free: 1.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.467e-05/0.3308, allocations: 39.83 kB / 0.5868 GB, free: 1.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.479e-05/0.3308, allocations: 56.16 kB / 0.5869 GB, free: 1.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.117e-05/0.3308, allocations: 90.77 kB / 0.587 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-06/0.3308, allocations: 25.7 kB / 0.587 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-06/0.3308, allocations: 81.08 kB / 0.5871 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3308, allocations: 4.609 kB / 0.5871 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.3309, allocations: 10.5 kB / 0.5871 GB, free: 0.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.05e-05/0.3309, allocations: 312.4 kB / 0.5874 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.3309, allocations: 0.6875 kB / 0.5874 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.3309, allocations: 5.547 kB / 0.5874 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.331, allocations: 12.3 kB / 0.5874 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.331, allocations: 0 / 0.5874 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.939e-05/0.331, allocations: 36.44 kB / 0.5875 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.331, allocations: 9.688 kB / 0.5875 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.331, allocations: 0.875 kB / 0.5875 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.331, allocations: 0 / 0.5875 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.3311, allocations: 2.531 kB / 0.5875 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3311, allocations: 1.156 kB / 0.5875 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-06/0.3311, allocations: 7.938 kB / 0.5875 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3311, allocations: 1.141 kB / 0.5875 GB, free: 0.543 MB / 430.1 MB 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 3.129e-05/0.3311, allocations: 107.7 kB / 0.5876 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.3312, allocations: 5.406 kB / 0.5876 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.3312, allocations: 41.17 kB / 0.5876 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3312, allocations: 4 kB / 0.5876 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3312, allocations: 8.906 kB / 0.5876 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.3313, allocations: 3.938 kB / 0.5876 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.846e-05/0.3313, allocations: 144.8 kB / 0.5878 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3313, allocations: 1.094 kB / 0.5878 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.3313, allocations: 1.609 kB / 0.5878 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3313, allocations: 4.688 kB / 0.5878 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.3313, allocations: 0.7188 kB / 0.5878 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3313, allocations: 0.5156 kB / 0.5878 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3313, allocations: 1.125 kB / 0.5878 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.183e-05/0.3314, allocations: 61.33 kB / 0.5878 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.3314, allocations: 85.64 kB / 0.5879 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.3314, allocations: 0 / 0.5879 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.3314, allocations: 1.531 kB / 0.5879 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-06/0.3314, allocations: 0 / 0.5879 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3315, allocations: 1.922 kB / 0.5879 GB, free: 12 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.3315, allocations: 75.28 kB / 0.588 GB, free: 15.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3315, allocations: 1.125 kB / 0.588 GB, free: 15.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001667/0.3317, allocations: 8.688 kB / 0.588 GB, free: 15.93 MB / 446.1 MB 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.0003111/0.332, allocations: 0.6008 MB / 0.5886 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.567e-05/0.332, allocations: 5.141 kB / 0.5886 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3321, allocations: 4 kB / 0.5886 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.3321, allocations: 6.344 kB / 0.5886 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.3322, allocations: 8.406 kB / 0.5886 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.3324, allocations: 110 kB / 0.5887 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.3326, allocations: 0.6715 MB / 0.5894 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.3326, allocations: 1.547 kB / 0.5894 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.194e-05/0.3326, allocations: 8.438 kB / 0.5894 GB, free: 14.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3326, allocations: 64 / 0.5894 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2652/0.5979, allocations: 0.8248 MB / 0.5902 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.5981, allocations: 190.3 kB / 0.5904 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.235, allocations: 4.125 kB / 0.5904 GB, free: 14.1 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)