Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 117.8 kB / 16.37 MB, free: 6.016 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.0014/0.0014, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 59.91 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3992, allocations: 80.91 MB / 0.5858 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001864/0.4011, allocations: 0.5777 MB / 0.5863 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.4025, allocations: 1.243 MB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.4025, allocations: 1.969 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.4026, allocations: 0 / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.4026, allocations: 0.6875 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.4029, allocations: 63.69 kB / 0.5876 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.267e-05/0.403, allocations: 4.922 kB / 0.5876 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.403, allocations: 6.5 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.4031, allocations: 1.281 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.4031, allocations: 1.375 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.4031, allocations: 0.9688 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.4034, allocations: 93.92 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.4034, allocations: 0 / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.4034, allocations: 1.75 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.4035, allocations: 54.94 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4035, allocations: 0 / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4035, allocations: 0 / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.4036, allocations: 2.281 kB / 0.5878 GB, free: 23.88 MB / 446.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.0002238/0.4038, allocations: 328.3 kB / 0.5881 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4038, allocations: 10.95 kB / 0.5881 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.4039, allocations: 0.9375 kB / 0.5881 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.557e-05/0.4039, allocations: 165.8 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.4039, allocations: 5.359 kB / 0.5883 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.404, allocations: 384 / 0.5883 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/0.404, allocations: 37.11 kB / 0.5883 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4041, allocations: 1.719 kB / 0.5883 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.4041, allocations: 0 / 0.5883 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4041, allocations: 5.5 kB / 0.5883 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.4041, allocations: 1.562 kB / 0.5883 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.912e-05/0.4042, allocations: 152 kB / 0.5885 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.124e-05/0.4042, allocations: 16.3 kB / 0.5885 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.4042, allocations: 6.516 kB / 0.5885 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.4046, allocations: 0.5561 MB / 0.589 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4047, allocations: 44.62 kB / 0.5891 GB, free: 22.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4047, allocations: 0 / 0.5891 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.4048, allocations: 35.66 kB / 0.5891 GB, free: 22.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.4048, allocations: 52.59 kB / 0.5891 GB, free: 22.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.923e-05/0.4049, allocations: 95.45 kB / 0.5892 GB, free: 22.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.4049, allocations: 25.7 kB / 0.5893 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.407e-05/0.4049, allocations: 80.77 kB / 0.5893 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.4049, allocations: 7.938 kB / 0.5893 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.405, allocations: 14.94 kB / 0.5894 GB, free: 21.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.405, allocations: 310.8 kB / 0.5897 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.405, allocations: 1.125 kB / 0.5897 GB, free: 21.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.405, allocations: 2.625 kB / 0.5897 GB, free: 21.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.4051, allocations: 16.8 kB / 0.5897 GB, free: 21.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4051, allocations: 0 / 0.5897 GB, free: 21.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.309e-05/0.4051, allocations: 35.91 kB / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4051, allocations: 8.781 kB / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4052, allocations: 3 kB / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4052, allocations: 0 / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.728e-05/0.4052, allocations: 2.844 kB / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4052, allocations: 0 / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.4052, allocations: 0 / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.4052, allocations: 3.375 kB / 0.5897 GB, free: 21.62 MB / 446.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 4.58e-05/0.4053, allocations: 111.1 kB / 0.5898 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.4053, allocations: 3.938 kB / 0.5898 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.324e-05/0.4054, allocations: 43.84 kB / 0.5899 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4054, allocations: 0 / 0.5899 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4054, allocations: 1.344 kB / 0.5899 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4054, allocations: 3.5 kB / 0.5899 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.767e-05/0.4055, allocations: 150.8 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4055, allocations: 4 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.4055, allocations: 2.625 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4055, allocations: 3.938 kB / 0.59 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.4055, allocations: 1.125 kB / 0.59 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.4055, allocations: 0 / 0.59 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4055, allocations: 0 / 0.59 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.198e-05/0.4056, allocations: 60.84 kB / 0.5901 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.4056, allocations: 84.23 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.4057, allocations: 3.938 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-06/0.4057, allocations: 0 / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.4057, allocations: 4.969 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4057, allocations: 2.469 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.402e-05/0.4057, allocations: 75.28 kB / 0.5903 GB, free: 21.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4057, allocations: 0 / 0.5903 GB, free: 21.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.4059, allocations: 6.156 kB / 0.5903 GB, free: 21.01 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.0001395/0.4061, allocations: 105.9 kB / 0.5904 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.745e-05/0.4061, allocations: 3.781 kB / 0.5904 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4061, allocations: 2.438 kB / 0.5904 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.4061, allocations: 9.281 kB / 0.5904 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.4063, allocations: 2.281 kB / 0.5904 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000168/0.4064, allocations: 79.95 kB / 0.5905 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.4066, allocations: 0.6741 MB / 0.5911 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.77e-05/0.4066, allocations: 1.906 kB / 0.5911 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.4066, allocations: 8.688 kB / 0.5911 GB, free: 20.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4066, allocations: 1.219 kB / 0.5911 GB, free: 20.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002189/0.4088, allocations: 297.2 kB / 0.5914 GB, free: 19.97 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)