Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2744/0.2744, allocations: 54.33 MB / 66.89 MB, free: 6.105 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001195/0.001195, allocations: 176 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.537/1.537, allocations: 194.2 MB / 288.6 MB, free: 15.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001598/0.001598, allocations: 112.2 kB / 346.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.363e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.475, allocations: 85.57 MB / 0.5426 GB, free: 4.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4753, allocations: 75.95 kB / 0.5427 GB, free: 4.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003371/0.4787, allocations: 1.193 MB / 0.5438 GB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4787, allocations: 0 / 0.5438 GB, free: 3.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.4787, allocations: 0 / 0.5438 GB, free: 3.633 MB / 378.7 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.0002908/0.479, allocations: 330.5 kB / 0.5441 GB, free: 3.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.4791, allocations: 12.02 kB / 0.5442 GB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.4791, allocations: 4 kB / 0.5442 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4792, allocations: 159.1 kB / 0.5443 GB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4792, allocations: 3.938 kB / 0.5443 GB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.4793, allocations: 4 kB / 0.5443 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.4794, allocations: 29.66 kB / 0.5443 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4794, allocations: 4 kB / 0.5444 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.4794, allocations: 0 / 0.5444 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4794, allocations: 0 / 0.5444 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.4794, allocations: 0 / 0.5444 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.4796, allocations: 150.3 kB / 0.5445 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.63e-05/0.4796, allocations: 22.55 kB / 0.5445 GB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.4797, allocations: 8.859 kB / 0.5445 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.4801, allocations: 0.5584 MB / 0.5451 GB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4802, allocations: 34.56 kB / 0.5451 GB, free: 2.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4802, allocations: 0 / 0.5451 GB, free: 2.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.4803, allocations: 37.64 kB / 0.5451 GB, free: 1.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4803, allocations: 55.44 kB / 0.5452 GB, free: 1.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.012e-05/0.4804, allocations: 85.88 kB / 0.5453 GB, free: 1.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4804, allocations: 25.7 kB / 0.5453 GB, free: 1.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.4804, allocations: 80.14 kB / 0.5454 GB, free: 1.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4804, allocations: 3.906 kB / 0.5454 GB, free: 1.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/0.4805, allocations: 0 / 0.5454 GB, free: 1.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4806, allocations: 314.8 kB / 0.5457 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.4806, allocations: 4 kB / 0.5457 GB, free: 1.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-06/0.4806, allocations: 3.938 kB / 0.5457 GB, free: 1.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.698e-05/0.4806, allocations: 9.969 kB / 0.5457 GB, free: 1.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4806, allocations: 4 kB / 0.5457 GB, free: 1.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.812e-05/0.4807, allocations: 33.69 kB / 0.5457 GB, free: 1.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4807, allocations: 4 kB / 0.5457 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4807, allocations: 0 / 0.5457 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.4807, allocations: 0 / 0.5457 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.963e-05/0.4808, allocations: 4 kB / 0.5457 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4808, allocations: 3.953 kB / 0.5457 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.4808, allocations: 0 / 0.5457 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.4808, allocations: 4.031 kB / 0.5457 GB, free: 1.332 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.4809, allocations: 108.3 kB / 0.5459 GB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.4809, allocations: 0 / 0.5459 GB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.481, allocations: 48.7 kB / 0.5459 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.481, allocations: 0 / 0.5459 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.481, allocations: 0 / 0.5459 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.481, allocations: 3.953 kB / 0.5459 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.4811, allocations: 153.7 kB / 0.546 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4811, allocations: 0 / 0.546 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.4812, allocations: 3.938 kB / 0.5461 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4812, allocations: 6.172 kB / 0.5461 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.4812, allocations: 7.984 kB / 0.5461 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4812, allocations: 0 / 0.5461 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4812, allocations: 0 / 0.5461 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.337e-05/0.4813, allocations: 61.03 kB / 0.5461 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.4813, allocations: 81.14 kB / 0.5462 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.4813, allocations: 4 kB / 0.5462 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.4813, allocations: 3.984 kB / 0.5462 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.4814, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.4814, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.353e-05/0.4814, allocations: 75.28 kB / 0.5463 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4814, allocations: 0 / 0.5463 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000203/0.4816, allocations: 15.94 kB / 0.5463 GB, free: 0.6797 MB / 378.7 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 () * 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 (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.0001369/0.4818, allocations: 107.2 kB / 0.5464 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.249e-05/0.4818, allocations: 4 kB / 0.5464 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4818, allocations: 0 / 0.5464 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.4818, allocations: 4 kB / 0.5464 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.708e-05/0.4819, allocations: 4 kB / 0.5464 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001335/0.4821, allocations: 48.98 kB / 0.5465 GB, free: 496 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4823, allocations: 0.6692 MB / 0.5471 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.4823, allocations: 8.109 kB / 0.5471 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.4824, allocations: 11.44 kB / 0.5471 GB, free: 15.77 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4824, allocations: 3.938 kB / 0.5471 GB, free: 15.77 MB / 394.7 MB Notification: Performance of Templates: time 0.0018/0.4842, allocations: 266.1 kB / 0.5474 GB, free: 15.51 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)