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/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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001605/0.001605, allocations: 193 kB / 16.25 MB, free: 6.629 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.6/1.6, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4351/0.4351, allocations: 54.92 MB / 324.4 MB, free: 68 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 68.47 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 59.59 MB / 454.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.2722/0.425, allocations: 0.6029 MB / 455.1 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.4261, allocations: 0.9617 MB / 456 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.4262, allocations: 0 / 456 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.4263, allocations: 0 / 456 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.4263, allocations: 0 / 456 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4266, allocations: 50.44 kB / 456.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.4267, allocations: 5.734 kB / 456.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.4267, allocations: 0 / 456.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.4268, allocations: 3 kB / 456.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.4268, allocations: 5.656 kB / 456.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.4268, allocations: 3.406 kB / 456.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.427, allocations: 91.33 kB / 456.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.427, allocations: 7.516 kB / 456.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.4271, allocations: 0 / 456.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.4272, allocations: 49.59 kB / 456.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4272, allocations: 0.8125 kB / 456.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4272, allocations: 0 / 456.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4272, allocations: 2.125 kB / 456.2 MB, free: 38.94 MB / 382.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.0002535/0.4275, allocations: 323.7 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4275, allocations: 8.844 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.4276, allocations: 6.125 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.177e-05/0.4276, allocations: 163.5 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4276, allocations: 3.391 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.4277, allocations: 2.531 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.4277, allocations: 34.23 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4278, allocations: 0 / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.4278, allocations: 0 / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4278, allocations: 0.5312 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.4278, allocations: 7.625 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.572e-05/0.4279, allocations: 146.3 kB / 456.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.639e-05/0.428, allocations: 21.7 kB / 456.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.428, allocations: 8.953 kB / 457 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.4284, allocations: 0.5589 MB / 457.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4284, allocations: 40.41 kB / 457.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4285, allocations: 0 / 457.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.4286, allocations: 33.95 kB / 457.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.4286, allocations: 52.03 kB / 457.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.034e-05/0.4286, allocations: 94.52 kB / 457.7 MB, free: 37.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.4287, allocations: 26.39 kB / 457.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.193e-05/0.4287, allocations: 80.7 kB / 457.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.4287, allocations: 3.938 kB / 457.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.4287, allocations: 14.28 kB / 457.8 MB, free: 37.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.4288, allocations: 311.3 kB / 458.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.4288, allocations: 6.469 kB / 458.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.4288, allocations: 4.766 kB / 458.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.4289, allocations: 8.953 kB / 458.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4289, allocations: 0.5 kB / 458.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.783e-05/0.4289, allocations: 45.05 kB / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4289, allocations: 7.594 kB / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4289, allocations: 2.656 kB / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.429, allocations: 0 / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.429, allocations: 0.9062 kB / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.429, allocations: 2.812 kB / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.429, allocations: 1.875 kB / 458.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.4291, allocations: 0.8438 kB / 458.2 MB, free: 36.76 MB / 382.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.693e-05/0.4291, allocations: 112.7 kB / 458.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.4291, allocations: 3.938 kB / 458.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.144e-05/0.4292, allocations: 45.19 kB / 458.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4292, allocations: 0 / 458.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4292, allocations: 1.391 kB / 458.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4292, allocations: 0 / 458.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.093e-05/0.4293, allocations: 147.5 kB / 458.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4293, allocations: 0 / 458.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.4293, allocations: 7.125 kB / 458.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4293, allocations: 3.938 kB / 458.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4293, allocations: 2.906 kB / 458.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4294, allocations: 0 / 458.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4294, allocations: 2.047 kB / 458.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.68e-05/0.4294, allocations: 59.92 kB / 458.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.4295, allocations: 87.59 kB / 458.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.4295, allocations: 2.844 kB / 458.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.4295, allocations: 0.8438 kB / 458.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.4295, allocations: 0 / 458.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4295, allocations: 1 kB / 458.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.384e-05/0.4295, allocations: 77.66 kB / 458.8 MB, free: 36.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4295, allocations: 2.562 kB / 458.8 MB, free: 36.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.4298, allocations: 6.719 kB / 458.8 MB, free: 36.18 MB / 382.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.0001598/0.4299, allocations: 103.6 kB / 458.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.43, allocations: 5.812 kB / 458.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.43, allocations: 1.281 kB / 458.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.686e-06/0.43, allocations: 8 kB / 458.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.4302, allocations: 2.406 kB / 458.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.4304, allocations: 87.75 kB / 459 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4305, allocations: 0.669 MB / 459.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.144e-05/0.4305, allocations: 3.688 kB / 459.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.4305, allocations: 7.438 kB / 459.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4306, allocations: 3.812 kB / 459.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of Templates: time 0.00233/0.4329, allocations: 294.5 kB / 460 MB, free: 35.28 MB / 382.1 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)